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)); }
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); }