VR Development Framework
v 1.0.0
Main Page
Related Pages
Namespaces
Classes
All
Classes
Namespaces
Functions
Variables
Enumerations
Enumerator
Properties
Events
Pages
AVR
Net
AVR_PlayerSpawn
disconnectClientIfFailed
getPrefab
max_players
OnDrawGizmos
OnNetworkSpawn
prefab
spawnLocations
spawnServerRpc
void AVR.Net.AVR_PlayerSpawn.OnDrawGizmos
(
)
inline
private
Definition at line
31
of file
AVR_PlayerSpawn.cs
.
31
{
32
Gizmos.color = Color.yellow;
33
foreach
(var loc
in
spawnLocations
) {
34
if
(loc==null)
continue
;
35
Gizmos.DrawSphere(loc.position, 0.1f);
36
Gizmos.DrawLine(loc.position, loc.position + loc.forward);
37
}
38
}
AVR.Net.AVR_PlayerSpawn.spawnLocations
List< Transform > spawnLocations
Definition:
AVR_PlayerSpawn.cs:17