17 lines
395 B
C#
17 lines
395 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)
|
|
{
|
|
Unit unit = args.unit;
|
|
ET.MoveComponent moveComponent = unit.GetComponent<ET.MoveComponent>();
|
|
//moveComponent.StopMove();
|
|
}
|
|
}
|
|
}
|