Ignition / DontDestroyOnLoad
Namespace
Playniax.IgnitionInherits from
MonoBehaviourScript can be found in
Assets/Playniax/Framework/Ignition/Framework/Core/Scripts (MonoBehaviour)/DontDestroyOnLoad.cs
Class DontDestroyOnLoad
DescriptionPrevents the GameObject from being destroyed when a new scene is loaded.
Public fields | Description |
---|
bool dontDestroyOnLoad = true | Determines whether the GameObject should be destroyed on scene load or not |