public static void SetSpawnLocation(string start, string end) { int startScene = SpawnLocations.ParseString(start).GetHashCode(); int endScene = SpawnLocations.ParseString(end).GetHashCode(); playerTransform.position = SpawnLocations.ReturnSpawnVector(startScene, endScene); }
public static void SetSpawnLocation(int start, int destination) { playerTransform.position = SpawnLocations.ReturnSpawnVector(start, destination); }