DebugManager
デバッグ用の機能を管理します。全てのデバッグ用機能は isDebug フラグによって管理されるようにすると便利です。
namespace GarageKit
[RequireComponent(typeof(VisibleMouseCursor))]
public class DebugManager : ManagerBase
Inheritance
DebugManager -> ManagerBase -> MonoBehaviour
Inspector
Properties
| member | type | description |
|---|---|---|
| isDebug | bool | デバッグ状態管理用フラグ |
| useIngameDebugConsole | bool | IngameDebugConsole パッケージ利用の有無 |
| useGraphy | bool | Graphy パッケージ利用の有無 |
Example
// デバッグ状態の確認
if(AppMain.Instance.debugManager.isDebug)
Debug.Log("debug is true");