Beispiel #1
0
 public override void OnGUI(Rect position, SerializedProperty property, GUIContent label)
 {
     EditorGUI.BeginProperty(position, label, property);
     FillProps(property);
     EditorGUIExtensions.DrawPropertes(myProps, position);
     EditorGUI.EndProperty();
 }
Beispiel #2
0
 public override float GetPropertyHeight(SerializedProperty property, GUIContent label)
 {
     FillProps(property);
     return(EditorGUIExtensions.GetPropertesHeight(myProps));
 }