Class ScenePathAttributePropertyDrawer
Handles inspector drawing for ScenePathAttribute
Inheritance
System.Object
UnityEditor.GUIDrawer
UnityEditor.PropertyDrawer
ScenePathAttributePropertyDrawer
Inherited Members
UnityEditor.PropertyDrawer.CreatePropertyGUI(UnityEditor.SerializedProperty)
UnityEditor.PropertyDrawer.CanCacheInspectorGUI(UnityEditor.SerializedProperty)
UnityEditor.PropertyDrawer.attribute
UnityEditor.PropertyDrawer.fieldInfo
Namespace: Atlas
Assembly: Atlas.Editor.dll
Syntax
[CustomPropertyDrawer(typeof(ScenePathAttribute))]
public sealed class ScenePathAttributePropertyDrawer : PropertyDrawer
Methods
| Improve this Doc View SourceGetPropertyHeight(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)