Show / Hide Table of Contents

Class LoginDrawer

Inheritance
System.Object
UnityEditor.GUIDrawer
UnityEditor.PropertyDrawer
LoginDrawer
Inherited Members
UnityEditor.PropertyDrawer.CreatePropertyGUI(UnityEditor.SerializedProperty)
UnityEditor.PropertyDrawer.CanCacheInspectorGUI(UnityEditor.SerializedProperty)
UnityEditor.PropertyDrawer.attribute
UnityEditor.PropertyDrawer.fieldInfo
Namespace: sttz.Trimmer.Editor
Assembly: Trimmer-Editor.dll
Syntax
[CustomPropertyDrawer(typeof(Password))]
[CustomPropertyDrawer(typeof(Login))]
public class LoginDrawer : PropertyDrawer

Methods

| Improve this Doc View Source

GetPropertyHeight(SerializedProperty, GUIContent)

Declaration
public override float GetPropertyHeight(SerializedProperty property, GUIContent label)
Parameters
Type Name Description
UnityEditor.SerializedProperty property
UnityEngine.GUIContent label
Returns
Type Description
System.Single
Overrides
UnityEditor.PropertyDrawer.GetPropertyHeight(UnityEditor.SerializedProperty, UnityEngine.GUIContent)
| Improve this Doc View Source

OnGUI(Rect, SerializedProperty, GUIContent)

Declaration
public override void OnGUI(Rect position, SerializedProperty property, GUIContent label)
Parameters
Type Name Description
UnityEngine.Rect position
UnityEditor.SerializedProperty property
UnityEngine.GUIContent label
Overrides
UnityEditor.PropertyDrawer.OnGUI(UnityEngine.Rect, UnityEditor.SerializedProperty, UnityEngine.GUIContent)
  • Improve this Doc
  • View Source
Back to top © 2017 Adrian Stutz