Click or drag to resize

AvatarService Methods

The AvatarService type exposes the following members.

Methods
  NameDescription
Public methodAttachCustomAvatarRenderer
Swaps the given avatar's current renderer for a custom one.
Public methodAttachDefaultAvatarRenderer
Swaps the given avatar's current renderer for the SDK's default one.
Public methodCoroutineInitialise
This method is used by our internal systems so do not call it directly.
(Overrides SingletonBehaviourCoroutineInitialise.)
Public methodSwitchLocalUserToScripted
Switch avatar to scripted avatar
Public methodToString

Returns the name of the GameObject.

(Overrides UnityEngine.Object.ToString.)
Public methodUpdateAllAvatars
Instantiate any missing avatars using their last persisted state
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