function in SpawnPointsIDManager
Last updated 3 years ago
public bool TryGetSpawnPosition(int id, out Vector3 position);
Bool - True if id exists
Get World Position of an id, checking if given id is true.
id
Spawner ID
out Position
Returns a Vector3 with the position of the spawner