SelfDrawerDrawer Class

Summary

[Editor-Only] Draws the GUI for a Animancer.SelfDrawerAttribute field.
Assembly
Animancer.dll
Namespace
Animancer.Editor
Base Types
  • PropertyDrawer
graph BT Type-->Base0["PropertyDrawer"] Type["SelfDrawerDrawer"] class Type type-node

Syntax

[CustomPropertyDrawer(typeof(SelfDrawerAttribute), true)]
public class SelfDrawerDrawer : PropertyDrawer

Attributes

Type Description
CustomPropertyDrawer

Properties

Name Value Summary
Attribute SelfDrawerAttribute
Casts the UnityEditor.PropertyDrawer.attribute.

Methods

Name Value Summary
CanCacheInspectorGUI(SerializedProperty) bool
Calls Animancer.SelfDrawerAttribute.CanCacheInspectorGUI(UnityEditor.SerializedProperty).
GetPropertyHeight(SerializedProperty, GUIContent) float
Calls Animancer.SelfDrawerAttribute.GetPropertyHeight(UnityEditor.SerializedProperty,UnityEngine.GUIContent).
OnGUI(Rect, SerializedProperty, GUIContent) void
Calls Animancer.SelfDrawerAttribute.OnGUI(UnityEngine.Rect,UnityEditor.SerializedProperty,UnityEngine.GUIContent).