Search Results for

    Show / Hide Table of Contents

    Class DontDestroyOnLoad

    Avoids a root UnityEngine.GameObject to be destroyed while loading a scene.

    Inheritance
    object
    Object
    Component
    Behaviour
    MonoBehaviour
    DontDestroyOnLoad
    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
    • Edit this page
    • View Source
    In this article
    Back to top Generated by DocFX