Definition at line 41 of file AVR_PlayerSpawn.cs. 46 AVR_DevConsole.cerror("Connected client would exceed the maximum number of allowed players ("+max_players+"). Disconnecting client.", this);
60 AVR_DevConsole.cprint("Client #"+clientId+" already has a playerNetworkObject! Despawning.", this);
66 GameObject obj = Instantiate(getPrefab().gameObject, spawnLocation.position, spawnLocation.rotation);
bool disconnectClientIfFailed Definition: AVR_PlayerSpawn.cs:19 List< Transform > spawnLocations Definition: AVR_PlayerSpawn.cs:17 virtual NetworkObject getPrefab() |