Beispiel #1
0
 public static void CallExitSpawned(TileTeleporterExit exit)
 {
     if (exitSpawned != null)
     {
         exitSpawned(exit);
     }
 }
Beispiel #2
0
 private void ExitSpawned(TileTeleporterExit exit)
 {
     // ReSharper disable once InvertIf
     if (target == null && exit.id == id)
     {
         target       = exit;
         exitSpawned -= ExitSpawned;
     }
 }