Click or drag to resize

AvatarLocal Methods

The AvatarLocal type exposes the following members.

Methods
  NameDescription
Protected methodGetControllerSerialisation
Gets the controller serialisation implementation
(Overrides AvatarGetControllerSerialisation(Hands).)
Protected methodOnDestroy
Unity component method
(Overrides AvatarOnDestroy.)
Public methodSetLocation
Sets this Avatar's Spawn point
(Overrides AvatarSetLocation(Spawn).)
Public methodSetLocationPersisted
Moves the avatar's to the specified position and rotation in worldspace, and is persisted. If correctForPlaySpace is TRUE, then the Avatar's head will appear at the location specified. If correctForPlaySpace is FALSE, then the play space's center will appear at the location specified
Public methodShowBackgroundFader
Fade the VR background out (block it), or fade it back in (unblock it)
Public methodTeleportToSpawnPoint
Teleports this Avatar back to it's original Spwan point (if it's still valid)
Top
Extension Methods
  NameDescription
Public Extension MethodGetCopyOf
Copies all properties of a component from source to target. Uses reflection to set properties.
(Defined by ComponentExtensions.)
Public Extension MethodWaitForT
Waits for a singleton on a coroutine
(Defined by SingletonManager.)
Top
See Also