C# 클래스 UnityEditor.PropertyDrawer

Base class to derive custom property drawers from. Use this to create custom drawers for your own Serializable classes or for script variables with custom PropertyAttributes.

상속: GUIDrawer
파일 보기 프로젝트 열기: CarlosHBC/UnityDecompiled 1 사용 예제들

공개 메소드들

메소드 설명
GetPropertyHeight ( UnityEditor.SerializedProperty property, GUIContent label ) : float

Override this method to specify how tall the GUI for this field is in pixels.

OnGUI ( Rect position, UnityEditor.SerializedProperty property, GUIContent label ) : void

Override this method to make your own GUI for the property.

보호된 메소드들

메소드 설명
PropertyDrawer ( ) : System

비공개 메소드들

메소드 설명
GetPropertyHeightSafe ( UnityEditor.SerializedProperty property, GUIContent label ) : float
OnGUISafe ( Rect position, UnityEditor.SerializedProperty property, GUIContent label ) : void

메소드 상세

GetPropertyHeight() 공개 메소드

Override this method to specify how tall the GUI for this field is in pixels.

public GetPropertyHeight ( UnityEditor.SerializedProperty property, GUIContent label ) : float
property UnityEditor.SerializedProperty The SerializedProperty to make the custom GUI for.
label UnityEngine.GUIContent The label of this property.
리턴 float

OnGUI() 공개 메소드

Override this method to make your own GUI for the property.

public OnGUI ( Rect position, UnityEditor.SerializedProperty property, GUIContent label ) : void
position UnityEngine.Rect Rectangle on the screen to use for the property GUI.
property UnityEditor.SerializedProperty The SerializedProperty to make the custom GUI for.
label UnityEngine.GUIContent The label of this property.
리턴 void

PropertyDrawer() 보호된 메소드

protected PropertyDrawer ( ) : System
리턴 System