Class SpriteStateDrawer
Inheritance
SpriteStateDrawer
Assembly: UnityEditor.UI.dll
Syntax
[CustomPropertyDrawer(typeof(SpriteState), true)]
public class SpriteStateDrawer : PropertyDrawer
Methods
CreatePropertyGUI(SerializedProperty)
Declaration
public override VisualElement CreatePropertyGUI(SerializedProperty property)
Parameters
Returns
Overrides
GetPropertyHeight(SerializedProperty, GUIContent)
Declaration
public override float GetPropertyHeight(SerializedProperty prop, GUIContent label)
Parameters
Returns
Overrides
OnGUI(Rect, SerializedProperty, GUIContent)
Declaration
public override void OnGUI(Rect rect, SerializedProperty prop, GUIContent label)
Parameters
Overrides