C# Class CompactDrawer, GGJ2016

Inheritance: UnityEditor.PropertyDrawer
Afficher le fichier Open project: netgrind/GGJ2016

Méthodes publiques

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

Private Methods

Méthode Description
ConvertToQuaternion ( Vector4 v4 ) : Quaternion
QuaternionToVector4 ( Quaternion q ) : Vector4

Method Details

GetPropertyHeight() public méthode

public GetPropertyHeight ( UnityEditor.SerializedProperty property, GUIContent label ) : float
property UnityEditor.SerializedProperty
label GUIContent
Résultat float

OnGUI() public méthode

public OnGUI ( Rect position, UnityEditor.SerializedProperty prop, GUIContent label ) : void
position Rect
prop UnityEditor.SerializedProperty
label GUIContent
Résultat void