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

FusionNetworkData Class

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

Properties

uint ColocationGroupCount[Get]
NetworkLinkedList< FusionAnchor > AnchorList[Get]
NetworkLinkedList< FusionPlayer > PlayerList[Get]

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?
Thumbs up icon
Thumbs down icon