DebugManager
Manage functions for debugging. It is useful to have all debugging functionality managed by the isDebug flag.
namespace GarageKit
[RequireComponent(typeof(VisibleMouseCursor))]
public class DebugManager : ManagerBase
Inheritance
DebugManager
-> ManagerBase -> MonoBehaviour
Inspector
Properties
member | type | description |
---|---|---|
isDebug | bool | Debug state management flag |
useIngameDebugConsole | bool | use package IngameDebugConsole |
useGraphy | bool | use package Graphy |
Example
// Check debug status
if(AppMain.Instance.debugManager.isDebug)
Debug.Log("debug is true");