Exemplo n.º 1
0
 public override float GetPropertyHeight(SerializedProperty property, GUIContent label)
 {
     // [optimize] TODO: only call last `GetHeight` of same `fieldInfo` in one frame
     return(MultiPropertyDrawerRegister.GetHeight(fieldInfo)(property, label));
 }
Exemplo n.º 2
0
 public override void OnGUI(Rect position, SerializedProperty property, GUIContent label)
 {
     // [optimize] TODO: only call last `DrawMultiProperty` of same `fieldInfo` in one frame
     MultiPropertyDrawerRegister.DrawMultiProperty(fieldInfo)(position, property, label);
 }