Click or drag to resize

AvatarService Class

Manages avatars
Inheritance Hierarchy

Namespace:  ImmerseSDK.Avatars
Assembly:  ImmerseSDK.App (in ImmerseSDK.App.dll) Version: 3.5.0.0 (3.5.0.0)
Syntax
C#
public sealed class AvatarService : SingletonBehaviour

The AvatarService type exposes the following members.

Constructors
  NameDescription
Public methodAvatarService
Initializes a new instance of the AvatarService class
Top
Methods
  NameDescription
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 (Overrides UnityEngine.Object.ToString.)
Public methodUpdateAllAvatars
Instantiate any missing avatars using their last persisted state
Top
Events
  NameDescription
Public eventOnAvatarCreated
Fired when an Avatar is created
Public eventOnUserColorChanged
Fired when a user's color has changed
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