feat: require focus toggle
parent
b55dd298ed
commit
317967423f
|
@ -11,9 +11,12 @@ namespace SkyHook.Editor
|
||||||
public override void OnInspectorGUI()
|
public override void OnInspectorGUI()
|
||||||
{
|
{
|
||||||
SkyHookManager manager = (SkyHookManager)target;
|
SkyHookManager manager = (SkyHookManager)target;
|
||||||
|
|
||||||
GUI.enabled = false;
|
GUI.enabled = false;
|
||||||
EditorGUILayout.Toggle("Hook Started", manager.isHookActive);
|
EditorGUILayout.Toggle("Hook Started", manager.isHookActive);
|
||||||
GUI.enabled = true;
|
GUI.enabled = true;
|
||||||
|
|
||||||
|
EditorGUILayout.Toggle("Require Focus", manager.requireFocus);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Reference in New Issue