Click or drag to resize
DontDestroyOnLoadBehaviour Class
The method DontDestroyOnLoad preserves the specified game object when the scene is changed. You can use it for game objects which are required throughout the game.
Inheritance Hierarchy
SystemObject
  Object
    Component
      Behaviour
        MonoBehaviour
          Slash.Unity.Common.LoadingDontDestroyOnLoadBehaviour

Namespace: Slash.Unity.Common.Loading
Assembly: Slash.Unity.Common (in Slash.Unity.Common.dll) Version: 1.0.6018.40182
Syntax
public class DontDestroyOnLoadBehaviour : MonoBehaviour

The DontDestroyOnLoadBehaviour type exposes the following members.

Constructors
  NameDescription
Public methodDontDestroyOnLoadBehaviour
Initializes a new instance of the DontDestroyOnLoadBehaviour class
Top
See Also