C# 클래스 RedBlueGames.NotNull.NotNullAttributeDrawer

상속: UnityEditor.PropertyDrawer
파일 보기 프로젝트 열기: redbluegames/unity-notnullattribute

공개 메소드들

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

Gets the height that is passed into the rect in OnGUI.

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

Raises the GUI event and draws the property.

비공개 메소드들

메소드 설명
BuildObjectField ( Rect drawArea, UnityEditor.SerializedProperty property, GUIContent label ) : void
BuildWarningRectangle ( Rect drawArea, UnityEditor.SerializedProperty property ) : void
IsNotWiredUp ( UnityEditor.SerializedProperty property ) : bool
IsPropertyNotNullInSceneAndPrefab ( UnityEditor.SerializedProperty property ) : bool
IsPropertyOnPrefab ( UnityEditor.SerializedProperty property ) : bool

메소드 상세

GetPropertyHeight() 공개 메소드

Gets the height that is passed into the rect in OnGUI.
public GetPropertyHeight ( UnityEditor.SerializedProperty property, GUIContent label ) : float
property UnityEditor.SerializedProperty Serialized property.
label UnityEngine.GUIContent Label for the property.
리턴 float

OnGUI() 공개 메소드

Raises the GUI event and draws the property.
public OnGUI ( Rect position, UnityEditor.SerializedProperty property, GUIContent label ) : void
position UnityEngine.Rect Position for the property.
property UnityEditor.SerializedProperty Serialized property.
label UnityEngine.GUIContent Label for the property.
리턴 void