C# Класс RedBlueGames.NotNull.NotNullAttributeDrawer

Наследование: UnityEditor.PropertyDrawer
Показать файл Открыть проект

Открытые методы

Метод Описание
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