AvatarBehaviourFusion Class
An implementation of the IAvatarBehaviour interface to network Avatar states using Photon Fusion.
Represents the id of the
Oculus account logged in the current headset.
Defaults to 0 if it could not be fetched.
int LocalAvatarIndex[Get]
Index of the Avatar type used when the user defined one could not be loaded.
Usually this is chosen randomly between 0 and the number of Sample
Assets available for Avatars.
int AvatarDataStreamLength[Get]
NetworkArray< byte > AvatarDataStream[Get]
override void Spawned ( )
override void FixedUpdateNetwork ( )
void ReceiveStreamData ( byte[] bytes )
Loads a serialized avatar state and update it in the local client.
An implementation of the IAvatarBehaviour interface.
ParametersbytesA byte stream containing the serialized avatar state.