feat: show hook started

develop
ChocoSwi 2022-11-05 23:25:09 +09:00
parent ddd65f022e
commit f13e1e985e
1 changed files with 3 additions and 0 deletions

View File

@ -11,6 +11,9 @@ namespace SkyHook.Editor
public override void OnInspectorGUI() public override void OnInspectorGUI()
{ {
SkyHookManager manager = (SkyHookManager)target; SkyHookManager manager = (SkyHookManager)target;
GUI.enabled = false;
EditorGUILayout.Toggle("Hook Started", manager.isHookActive);
GUI.enabled = true;
} }
} }
} }