Esempio n. 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();
 }
Esempio n. 2
0
 public override float GetPropertyHeight(SerializedProperty property, GUIContent label)
 {
     FillProps(property);
     return(EditorGUIExtensions.GetPropertesHeight(myProps));
 }