C# 클래스 FullInspector.Internal.NullablePropertyEditor

A property editor for nullable types.
상속: IPropertyEditor, IPropertyEditorEditAPI
파일 보기 프로젝트 열기: jacobdufault/fullinspector

공개 메소드들

메소드 설명
CanEdit ( Type dataType ) : bool
Edit ( Rect region, GUIContent label, object element, fiGraphMetadata metadata ) : object
GetElementHeight ( GUIContent label, object element, fiGraphMetadata metadata ) : float
GetFoldoutHeader ( GUIContent label, object element ) : GUIContent
NullablePropertyEditor ( Type elementType ) : System
OnSceneGUI ( object element ) : object
TryCreate ( Type type, ICustomAttributeProvider attributes ) : IPropertyEditor

메소드 상세

CanEdit() 공개 메소드

public CanEdit ( Type dataType ) : bool
dataType System.Type
리턴 bool

Edit() 공개 메소드

public Edit ( Rect region, GUIContent label, object element, fiGraphMetadata metadata ) : object
region UnityEngine.Rect
label UnityEngine.GUIContent
element object
metadata fiGraphMetadata
리턴 object

GetElementHeight() 공개 메소드

public GetElementHeight ( GUIContent label, object element, fiGraphMetadata metadata ) : float
label UnityEngine.GUIContent
element object
metadata fiGraphMetadata
리턴 float

GetFoldoutHeader() 공개 메소드

public GetFoldoutHeader ( GUIContent label, object element ) : GUIContent
label UnityEngine.GUIContent
element object
리턴 UnityEngine.GUIContent

NullablePropertyEditor() 공개 메소드

public NullablePropertyEditor ( Type elementType ) : System
elementType System.Type
리턴 System

OnSceneGUI() 공개 메소드

public OnSceneGUI ( object element ) : object
element object
리턴 object

TryCreate() 공개 정적인 메소드

public static TryCreate ( Type type, ICustomAttributeProvider attributes ) : IPropertyEditor
type System.Type
attributes ICustomAttributeProvider
리턴 IPropertyEditor