using UnityEngine; namespace ET { public class ChangeRotation_SyncGameObjectRotation: AEvent { protected override async ETTask Run(EventType.ChangeRotation args) { Transform transform = args.Unit.GetComponent().GameObject.transform; transform.rotation = args.Unit.Rotation; } } }