public SpawnLocation(SpawnLocationHandler spawnLocationHandler, Vector3 position, bool direction) { SpawnLocationHandler = spawnLocationHandler; Position = position; Direction = direction; Name = World.GetZoneLocalizedName(position); }
public SpawnLocation(SpawnLocationHandler spawnLocationHandler, Vector3 position, Vector3 cameraPos, Vector3 cameraDir, bool direction = true) { SpawnLocationHandler = spawnLocationHandler; Position = position; Direction = direction; Name = World.GetZoneLocalizedName(position); CameraPos = cameraPos; CameraDir = cameraDir; }