Class ScaledDrawer
- Namespace
- SurvivorsMaker.Editor
- Assembly
- SurvivorsMaker.Editor.dll
[CustomPropertyDrawer(typeof(Scaled))]
public sealed class ScaledDrawer : PropertyDrawer
- Inheritance
-
GUIDrawer
PropertyDrawer
ScaledDrawer
- Inherited Members
-
PropertyDrawer.OnGUI(Rect, SerializedProperty, GUIContent)
PropertyDrawer.GetPropertyHeight(SerializedProperty, GUIContent)
PropertyDrawer.CanCacheInspectorGUI(SerializedProperty)
PropertyDrawer.attribute
PropertyDrawer.fieldInfo
PropertyDrawer.preferredLabel
Constructors
ScaledDrawer()
Methods
CreatePropertyGUI(SerializedProperty)
public override VisualElement CreatePropertyGUI(SerializedProperty property)
Parameters
property SerializedProperty
Returns
- VisualElement
Preview(Scaled)
public static string Preview(Scaled value)
Parameters
value Scaled
Returns
- string
Read(SerializedProperty)
public static Scaled Read(SerializedProperty property)
Parameters
property SerializedProperty
Returns
- Scaled