예제 #1
0
 public override void MoveEffector()
 {
     if (!isExit && pair)
     {
         GameObject.Destroy(pair.gameObject);
         pair = null;
     }
     EffectorSpawner.effectorSpawner.MoveSpawn(this);
     //EffectorSpawner.effectorSpawner.SpawnNew(gameObject);
 }
예제 #2
0
 public void SetPair(TeleporterEffector other)
 {
     other.pair = this;
     pair       = other;
 }