C# Class CompactDrawer, GGJ2016

Inheritance: UnityEditor.PropertyDrawer
ファイルを表示 Open project: netgrind/GGJ2016

Public Methods

Method Description
GetPropertyHeight ( UnityEditor.SerializedProperty property, GUIContent label ) : float
OnGUI ( Rect position, UnityEditor.SerializedProperty prop, GUIContent label ) : void

Private Methods

Method Description
ConvertToQuaternion ( Vector4 v4 ) : Quaternion
QuaternionToVector4 ( Quaternion q ) : Vector4

Method Details

GetPropertyHeight() public method

public GetPropertyHeight ( UnityEditor.SerializedProperty property, GUIContent label ) : float
property UnityEditor.SerializedProperty
label GUIContent
return float

OnGUI() public method

public OnGUI ( Rect position, UnityEditor.SerializedProperty prop, GUIContent label ) : void
position Rect
prop UnityEditor.SerializedProperty
label GUIContent
return void