コード例 #1
0
 public void SetGuardTarget(Aircraft guardTarget)
 {
     GuardTarget      = guardTarget;
     guardTargetTrans = guardTarget?.transform;
 }
コード例 #2
0
 public virtual void ObjectPoolInit(Vector3 position, Quaternion rotation, Aircraft target, Aircraft guardTarget, string camp = null)
 {
     trans.position = position;
     trans.rotation = rotation;
     Camp           = camp;
     SetTarget(target);
     SetGuardTarget(guardTarget);
 }
コード例 #3
0
 public void SetTarget(Aircraft target)
 {
     Target      = target;
     targetTrans = target?.transform;
 }