C# Class Ludiq.Reflection.Editor.AnimatorParameterDrawer

Inheritance: TargetedDrawer
Afficher le fichier Open project: lazlo-bonin/unity-reflection

Protected Properties

Свойство Type Description
nameProperty UnityEditor.SerializedProperty
property UnityEditor.SerializedProperty
targets UnityEngine.Animator[]

Méthodes protégées

Méthode Description
FindTargets ( ) : UnityEngine.Animator[]

Gets the list of targets on the inspected objects.

GetNameOptions ( ) : List>

Gets the list of shared parameter names as popup options.

GetSelfTarget ( Object obj ) : Object
GetValue ( ) : AnimatorParameter

Returns an animator parameter constructed from the current property values.

RenderMemberControl ( Rect position ) : void
SetValue ( AnimatorParameter value ) : void

Assigns the property values from a specified animator parameter.

Update ( UnityEditor.SerializedProperty property ) : void

Method Details

FindTargets() protected méthode

Gets the list of targets on the inspected objects.
protected FindTargets ( ) : UnityEngine.Animator[]
Résultat UnityEngine.Animator[]

GetNameOptions() protected méthode

Gets the list of shared parameter names as popup options.
protected GetNameOptions ( ) : List>
Résultat List>

GetSelfTarget() protected méthode

protected GetSelfTarget ( Object obj ) : Object
obj Object
Résultat Object

GetValue() protected méthode

Returns an animator parameter constructed from the current property values.
protected GetValue ( ) : AnimatorParameter
Résultat AnimatorParameter

RenderMemberControl() protected méthode

protected RenderMemberControl ( Rect position ) : void
position UnityEngine.Rect
Résultat void

SetValue() protected méthode

Assigns the property values from a specified animator parameter.
protected SetValue ( AnimatorParameter value ) : void
value AnimatorParameter
Résultat void

Update() protected méthode

protected Update ( UnityEditor.SerializedProperty property ) : void
property UnityEditor.SerializedProperty
Résultat void

Property Details

nameProperty protected_oe property

The UnityMember.name of the inspected property, of type string.
protected SerializedProperty,UnityEditor nameProperty
Résultat UnityEditor.SerializedProperty

property protected_oe property

The inspected property, of type AnimatorParameter.
protected SerializedProperty,UnityEditor property
Résultat UnityEditor.SerializedProperty

targets protected_oe property

The targeted animators.
protected Animator[],UnityEngine targets
Résultat UnityEngine.Animator[]