| 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.LoadingAssembly: Slash.Unity.Common (in Slash.Unity.Common.dll) Version: 1.0.6018.40182
Syntax public class DontDestroyOnLoadBehaviour : MonoBehaviour
Public Class DontDestroyOnLoadBehaviour
Inherits MonoBehaviour
public ref class DontDestroyOnLoadBehaviour : public MonoBehaviour
type DontDestroyOnLoadBehaviour =
class
inherit MonoBehaviour
end
The DontDestroyOnLoadBehaviour type exposes the following members.
Constructors See Also