Esempio n. 1
0
 public void SetGuardTarget(Aircraft guardTarget)
 {
     GuardTarget      = guardTarget;
     guardTargetTrans = guardTarget?.transform;
 }
Esempio n. 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);
 }
Esempio n. 3
0
 public void SetTarget(Aircraft target)
 {
     Target      = target;
     targetTrans = target?.transform;
 }