API reference
API reference
Select your platform
No SDKs available
No versions available

NetcodeGameObjectsNetworkData Class

Extends NetworkBehaviour, INetworkData
A Netcode for GameObjects concrete implementation of INetworkData Used to manage a Player and Anchor list that all players that colocated are in.

Member Functions

void AddPlayer
( Player player )
void RemovePlayer
( Player player )
Player? GetPlayerWithPlayerId
( ulong playerId )
Player? GetPlayerWithOculusId
( ulong oculusId )
List< Player > GetAllPlayers ( )
void AddAnchor
( Anchor anchor )
void RemoveAnchor
( Anchor anchor )
Anchor? GetAnchor
( ulong ownerOculusId )
List< Anchor > GetAllAnchors ( )
uint GetColocationGroupCount ( )
void IncrementColocationGroupCount ( )
Did you find this page helpful?