Click or drag to resize

Scene Class

Handles indexing of IndexedMonoBehaviours, avatar spawning and scene settings. A Scene component is required for each scene in a ImmerseSDK project.
Inheritance Hierarchy

Namespace:  ImmerseSDK
Assembly:  ImmerseSDK.App (in ImmerseSDK.App.dll) Version: 3.9.0.0 (3.9.0.0)
Syntax
C#
[HelpURLAttribute("https://immerse.readme.io/")]
public class Scene : UnityEngine.MonoBehaviour

The Scene type exposes the following members.

Constructors
  NameDescription
Public methodScene
Initializes a new instance of the Scene class
Top
Properties
  NameDescription
Public propertyAllowAllWebUsersToSendBeacon Obsolete.
Public propertyAvatarNameTooltipsEnabled Obsolete.
Returns the setting for avatar name tooltips in this scene
Public propertyAvatarTeleportTrailsEnabled Obsolete.
Returns the setting for avatar teleport trails in this scene
Public propertyStatic memberCurrent
The currently loaded scene's Scene object
Public propertyCustomHandState Obsolete.
Gets a custom hand state that can be used in this scene
Public propertyHasCustomHandStates Obsolete.
Returns true if custom hand states are available and have been setup correctly
Public propertyIndex
Build index of the scene
Public propertyObjectIndex
Public propertyPointsHandMenuEnabled
Returns the setting for points hand menu in this scene
Top
Methods
  NameDescription
Protected methodAwake
Unity component method
Protected methodOnDestroy
Unity component method
Top
Events
  NameDescription
Public eventStatic memberOnSceneChange
Fired when a new scene is loaded
Top
Fields
  NameDescription
Private field_index
Private field_pointsHandMenuEnabled
Enable/disable the gifting points page on the hand menu
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