Class RequireInterfaceDrawer
Inheritance
System.Object
UnityEditor.GUIDrawer
UnityEditor.PropertyDrawer
RequireInterfaceDrawer
Inherited Members
UnityEditor.PropertyDrawer.CreatePropertyGUI(UnityEditor.SerializedProperty)
UnityEditor.PropertyDrawer.GetPropertyHeight(UnityEditor.SerializedProperty, UnityEngine.GUIContent)
UnityEditor.PropertyDrawer.CanCacheInspectorGUI(UnityEditor.SerializedProperty)
UnityEditor.PropertyDrawer.attribute
UnityEditor.PropertyDrawer.fieldInfo
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: MacacaGames.GameSystem
Assembly: Macaca.GameSystem.Editor.dll
Syntax
[CustomPropertyDrawer(typeof(RequireInterfaceAttribute))]
public class RequireInterfaceDrawer : PropertyDrawer
Methods
| Improve this Doc View SourceOnGUI(Rect, SerializedProperty, GUIContent)
Overrides GUI drawing for the attribute.
Declaration
public override void OnGUI(Rect position, SerializedProperty property, GUIContent label)
Parameters
Type | Name | Description |
---|---|---|
UnityEngine.Rect | position | Position. |
UnityEditor.SerializedProperty | property | Property. |
UnityEngine.GUIContent | label | Label. |
Overrides
UnityEditor.PropertyDrawer.OnGUI(UnityEngine.Rect, UnityEditor.SerializedProperty, UnityEngine.GUIContent)