Namespace Scylla.Core.Editor.Drawers
Classes
DoubleRangeDrawer
Custom UnityEditor.PropertyDrawer for DoubleRange. Renders the two
bounds inline as Min and Max labelled double fields. The drawer does
not provide a slider variant because Unity's MinMaxSlider(GUIContent, Rect, ref float, ref float, float, float)
operates on float values; the precision loss would defeat the purpose
of using DoubleRange.
FloatRangeDrawer
Custom UnityEditor.PropertyDrawer for FloatRange. Renders the two
bounds inline as Min and Max labelled float fields. When the property
also carries a UnityEngine.RangeAttribute, the drawer renders a
MinMaxSlider(GUIContent, Rect, ref float, ref float, float, float) between the two fields so designers can drag
either end while staying within the outer bounds.
IntRangeDrawer
Custom UnityEditor.PropertyDrawer for IntRange. Renders the two bounds
inline as Min and Max labelled integer fields. When the property also
carries a UnityEngine.RangeAttribute, the drawer renders an integer-snapped
MinMaxSlider(GUIContent, Rect, ref float, ref float, float, float) between the two fields.