1234567891011121314151617181920212223242526272829 |
- using UnityEngine;
- #if UNITY_EDITOR
- using UnityEditor;
- #endif
- namespace UnityUIPlayables
- {
- internal abstract class MultiPropertyAttribute : PropertyAttribute
- {
- public MultiPropertyAttribute[] Attributes;
- public IAttributePropertyDrawer[] PropertyDrawers;
- #if UNITY_EDITOR
- public virtual void OnPreGUI(Rect position, SerializedProperty property)
- {
- }
- public virtual void OnPostGUI(Rect position, SerializedProperty property, bool changed)
- {
- }
- public virtual bool IsVisible(SerializedProperty property)
- {
- return true;
- }
- #endif
- }
- }
|