feat: require focus toggle

develop
ChocoSwi 2022-11-05 23:29:49 +09:00
parent b55dd298ed
commit 317967423f
1 changed files with 3 additions and 0 deletions

View File

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