Ejemplo n.º 1
0
 /// <summary>
 /// Internal method which adds the specified spawn point to the manager.
 /// </summary>
 /// <param name="spawnPoint">The spawn point to add.</param>
 private void AddSpawnPointInternal(SpawnPoint spawnPoint)
 {
     AddSpawnPointGrouping(spawnPoint, spawnPoint.Grouping);
 }
Ejemplo n.º 2
0
 /// <summary>
 /// Removes the specified spawn point from the manager.
 /// </summary>
 /// <param name="spawnPoint">The spawn point to remove.</param>
 public static void RemoveSpawnPoint(SpawnPoint spawnPoint)
 {
     Instance.RemoveSpawnPointInternal(spawnPoint);
 }
Ejemplo n.º 3
0
 /// <summary>
 /// Adds the specified spawn point to the manager.
 /// </summary>
 /// <param name="spawnPoint">The spawn point to add.</param>
 public static void AddSpawnPoint(SpawnPoint spawnPoint)
 {
     Instance.AddSpawnPointInternal(spawnPoint);
 }
Ejemplo n.º 4
0
 /// <summary>
 /// The SpawnPoint's grouping value has changed. Update the internal group mapping.
 /// </summary>
 /// <param name="spawnPoint">The SpawnPoint whose grouping value changed.</param>
 /// <param name="newGroupingIndex">The new grouping index of the SpawnPoint.</param>
 public static void UpdateSpawnPointGrouping(SpawnPoint spawnPoint, int newGroupingIndex)
 {
     Instance.UpdateSpawnPointGroupingInternal(spawnPoint, newGroupingIndex);
 }