IAttributePropertyDrawer.cs 344 B

1234567891011121314151617
  1. using UnityEngine;
  2. #if UNITY_EDITOR
  3. using UnityEditor;
  4. #endif
  5. namespace UnityUIPlayables
  6. {
  7. internal interface IAttributePropertyDrawer
  8. {
  9. #if UNITY_EDITOR
  10. void OnGUI(Rect position, SerializedProperty property, GUIContent label);
  11. float GetPropertyHeight(SerializedProperty property, GUIContent label);
  12. #endif
  13. }
  14. }