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