fix: inspector target
parent
9d4ae6aa58
commit
3320a4611e
|
@ -10,7 +10,7 @@ namespace SkyHook.Editor
|
|||
{
|
||||
public override void OnInspectorGUI()
|
||||
{
|
||||
SkyHookManager manager = (SkyHookManager)target;
|
||||
SkyHookManager manager = SkyHookManager.Instance;
|
||||
|
||||
GUI.enabled = false;
|
||||
EditorGUILayout.Toggle("Hook is running", manager.isHookActive);
|
||||
|
|
Reference in New Issue