Show / Hide Table of Contents

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 Source

OnGUI(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)
  • Improve this Doc
  • View Source
In This Article
Back to top Generated by DocFX