17 lines
394 B
C#
17 lines
394 B
C#
|
using ET.EventType;
|
|||
|
using System;
|
|||
|
using System.Collections.Generic;
|
|||
|
|
|||
|
namespace ET
|
|||
|
{
|
|||
|
public class UnitStopMoveEvent : AEvent_Sync<UnitStopMove>
|
|||
|
{
|
|||
|
public override void Run(UnitStopMove args)
|
|||
|
{
|
|||
|
var unit = args.unit;
|
|||
|
ET.MoveComponent moveComponent = unit.GetComponent<ET.MoveComponent>();
|
|||
|
//moveComponent.StopMove();
|
|||
|
}
|
|||
|
}
|
|||
|
}
|