コード例 #1
0
            public override void OnInspectorGUI()
            {
                EditorGUILayout.Space();

                sets.Draw();

                serializedObject.ApplyModifiedProperties();
            }
コード例 #2
0
 protected virtual void DrawObjects()
 {
     if (targets.Length == 1)
     {
         EditorGUILayout.Space();
         objects.Draw();
     }
 }
コード例 #3
0
 void DrawOptions()
 {
     EditorGUI.BeginChangeCheck();
     {
         options.Draw();
     }
     if (EditorGUI.EndChangeCheck())
     {
         InitValue();
     }
 }
コード例 #4
0
            public override void OnInspectorGUI()
            {
                EditorGUILayout.Space();

                EditorGUI.BeginChangeCheck();
                index.Draw();
                if (EditorGUI.EndChangeCheck())
                {
                    serializedObject.ApplyModifiedProperties();

                    target.NavigateTo(index.Index);
                }

                tabs.Draw();

                serializedObject.ApplyModifiedProperties();
            }
コード例 #5
0
            public override void OnInspectorGUI()
            {
                if (targets.Length == 1)
                {
                    EditorGUILayout.Space();
                    objects.Draw();
                }

                serializedObject.ApplyModifiedProperties();

                if (GUILayout.Button("Instantiate"))
                {
                    ForAllTargets((MultiPrefab target) => target.Instantiate());
                }
                if (GUILayout.Button("Clear"))
                {
                    ForAllTargets((MultiPrefab target) => target.Clear());
                }
            }
コード例 #6
0
 protected virtual void DrawFoldersConstraints()
 {
     pathsConstraints.Draw();
 }
コード例 #7
0
 protected virtual void DrawSets()
 {
     sets.Draw();
 }
コード例 #8
0
ファイル: KeyCodeList Drawer.cs プロジェクト: FlechitUp/IHC
            public override void OnGUI(Rect position, SerializedProperty property, GUIContent label)
            {
                InitList(property, label);

                list.Draw(position);
            }
コード例 #9
0
ファイル: TabMenu.cs プロジェクト: moe4b-personal/Moe-Tools
 protected virtual void DrawTabs()
 {
     tabs.Draw();
 }
コード例 #10
0
 protected virtual void DrawClips()
 {
     clips.Draw();
 }
コード例 #11
0
 protected virtual void DrawElements()
 {
     elements.Draw();
 }