Used for convenient spawning of players with respective network prefabs. More...
Public Member Functions | |
override void | OnNetworkSpawn () |
Public Member Functions inherited from AVR.Core.AVR_Behaviour | |
virtual void | OnDestroy () |
Public Attributes | |
int | max_players = 4 |
List< Transform > | spawnLocations = new List<Transform>() |
bool | disconnectClientIfFailed = true |
NetworkObject | prefab |
Protected Member Functions | |
virtual NetworkObject | getPrefab () |
virtual void | spawnServerRpc (ulong clientId) |
Private Member Functions | |
void | OnDrawGizmos () |
Additional Inherited Members | |
Protected Attributes inherited from AVR.Core.AVR_Behaviour | |
AVR_PlayerRig | playerRig => AVR_PlayerRig.Instance |
The current AVR_PlayerRig instance in the scene More... | |
AVR_Root | root => AVR_Root.Instance |
The current AVR_Root instance in the scene More... | |
bool | vrEnabled => UnityEngine.XR.XRSettings.enabled |
True if the application is running as a VR/XR application More... | |
Used for convenient spawning of players with respective network prefabs.
Definition at line 13 of file AVR_PlayerSpawn.cs.