Example #1
0
            public float GetHeight(TimingAttribute attribute)
            {
                if (Property == null || attribute.Style.HasFlag(hidingFlag))
                {
                    return(0);
                }

                return(height);
            }
Example #2
0
            public bool Draw(Rect position, TimingAttribute attribute)
            {
                if (attribute.Style.HasFlag(hidingFlag))
                {
                    return(false);
                }

                EditorGUI.PropertyField(position, Property);

                Property.serializedObject.ApplyModifiedProperties();

                return(true);
            }