feat: require focus toggle
parent
b55dd298ed
commit
317967423f
|
@ -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);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Reference in New Issue