Class DontDestroyOnLoad
Avoids a root UnityEngine.GameObject to be destroyed while loading a scene.
Namespace: GGL.Components
Assembly: GGL.dll
Syntax
[AddComponentMenu("GG-Library/MISC/Don't Destroy On Load")]
[HelpURL("https://ggl.yoannhaffner.com/api/GGL.Components.DontDestroyOnLoad.html")]
public class DontDestroyOnLoad : MonoBehaviour