Inheritance: PropertyAttribute
コード例 #1
0
        public override void OnGUI(Rect position, SerializedProperty property, GUIContent label)
        {
            a = (StyledCategory)attribute;

            GUI.enabled = true;

            StyledGUI.DrawInspectorCategory(position, a.category);
        }
コード例 #2
0
        public override void OnGUI(Rect position, SerializedProperty property, GUIContent label)
        {
            a = (StyledCategory)attribute;

            GUI.enabled           = true;
            EditorGUI.indentLevel = 0;

            GUILayout.Space(a.top);
            StyledGUI.DrawInspectorCategory(a.category);
            GUILayout.Space(a.down);
        }
コード例 #3
0
        public override void OnGUI(Rect position, SerializedProperty property, GUIContent label)
        {
            a = (StyledCategory)attribute;

            property.boolValue = StyledGUI.DrawInspectorCategory(a.category, property.boolValue, a.top, a.down, a.colapsable);
        }