Пример #1
0
        public override async ETTask Frame_ClickMapHandler(Unit unit, Frame_ClickMap message)
        {
            Vector3 target = new Vector3(message.X, message.Y, message.Z);

            unit.GetComponent <UnitPathComponent>().MoveTo(target).Coroutine();
            await ETTask.CompletedTask;
        }
Пример #2
0
 public virtual async ETTask Frame_ClickMapHandler(Unit unit, Frame_ClickMap message)
 {
 }