예제 #1
0
 public void SetPosition(Vector3 position, Action arrive = null)
 {
     IsFind        = true;
     targetPosType = TargetPosType.Position;
     this.position = position;
     this.OnArrive = arrive;
 }
예제 #2
0
 public void SetTarget(Transform target, Action arrive = null)
 {
     IsFind        = true;
     targetPosType = TargetPosType.Transform;
     this.target   = target;
     this.OnArrive = arrive;
 }