Esempio n. 1
0
 public void UnregisterSpawnLocationWithService(ISpawnLocationInterface inLocation)
 {
     if (_spawnLocations.Contains(inLocation))
     {
         _spawnLocations.Remove(inLocation);
     }
     else
     {
         Debug.LogError("Tried to unregister a spawn location that wasn't registered!");
     }
 }
Esempio n. 2
0
 public void RegisterSpawnLocationWithService(ISpawnLocationInterface inLocation)
 {
     if (!_spawnLocations.Contains(inLocation))
     {
         _spawnLocations.Add(inLocation);
     }
     else
     {
         Debug.LogError("Tried to register a spawn location that was already registered!");
     }
 }
Esempio n. 3
0
 public void UnregisterSpawnLocationWithService(ISpawnLocationInterface inLocation)
 {
     UnregisteredSpawnLocation = inLocation;
 }