Beispiel #1
0
 protected void PropertyFieldLimitMax(SerializedProperty prop, string relativePropName, float maxValue)
 {
     if (IngorePropertys.Contains(relativePropName))
     {
         return;
     }
     if (!ChartEditorHelper.PropertyFieldWithMaxValue(ref m_DrawRect, m_Heights, m_KeyName, prop,
                                                      relativePropName, maxValue))
     {
         Debug.LogError("PropertyField ERROR:" + prop.displayName + ", " + relativePropName);
     }
 }