예제 #1
0
        public override void OnInspectorGUI()
        {
            base.OnInspectorGUI();

            EGUI.Vertical(() => {
                EGUI.Horizontal(() => {
                    EditorGUILayout.Toggle("Opened", Target.IsOpened);
                    EditorGUILayout.Toggle("In Transition", Target.IsInTransition);
                });
                EGUI.Horizontal(() => {
                    EditorGUILayout.Toggle("Disabled", Target.IsDisabled);
                    EditorGUILayout.Toggle("Interactable", Target.IsInteractable);
                });
                EGUI.Horizontal(() => {
                    EditorGUILayout.Toggle("Focused", Target.IsFocusedThis);
                });
            });
        }