public override void OnGUI(Rect rect, SerializedProperty property, GUIContent label) { EditorGUI.BeginProperty(rect, label, property); InventoryEditorUtility.DrawStatDecorator(rect, property, true, true, true, true); EditorGUI.EndProperty(); }
protected virtual void DrawItemStatLookup(Rect rect, SerializedProperty property, bool isActive, bool isFocused, bool drawRestore, bool drawPercentage) { InventoryEditorUtility.DrawStatDecorator(rect, property, isActive, isFocused, drawRestore, drawPercentage); }