Skip to main content

Class DebugManager

Manages the persistence of debug-related prefab during runtime, ensuring that certain objects can persist across scene loads if configured to do so in development builds.

public class DebugManager : MonoBehaviour

Inheritance​

Fields​

DontDestoryOnLoad​

Flag indicating whether this object should persist across scene loads. If true, the object will not be destroyed when a new scene is loaded.

public bool DontDestoryOnLoad

Field Value​

bool