Click or drag to resize

DontDestroyOnLoad Class

Makes the object target not be destroyed automatically when loading a new scene.
Inheritance Hierarchy
SystemObject
  UnityEngine.Object
    UnityEngine.Component
      UnityEngine.Behaviour
        UnityEngine.MonoBehaviour
          ImmerseSDKDontDestroyOnLoad

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 DontDestroyOnLoad : UnityEngine.MonoBehaviour

The DontDestroyOnLoad type exposes the following members.

Constructors
  NameDescription
Public methodDontDestroyOnLoad
Initializes a new instance of the DontDestroyOnLoad class
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