C# Class Ludiq.Reflection.Editor.AnimatorParameterDrawer

Inheritance: TargetedDrawer
ファイルを表示 Open project: lazlo-bonin/unity-reflection

Protected Properties

Property Type Description
nameProperty UnityEditor.SerializedProperty
property UnityEditor.SerializedProperty
targets UnityEngine.Animator[]

Protected Methods

Method 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 method

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

GetNameOptions() protected method

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

GetSelfTarget() protected method

protected GetSelfTarget ( Object obj ) : Object
obj Object
return Object

GetValue() protected method

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

RenderMemberControl() protected method

protected RenderMemberControl ( Rect position ) : void
position UnityEngine.Rect
return void

SetValue() protected method

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

Update() protected method

protected Update ( UnityEditor.SerializedProperty property ) : void
property UnityEditor.SerializedProperty
return void

Property Details

nameProperty protected_oe property

The UnityMember.name of the inspected property, of type string.
protected SerializedProperty,UnityEditor nameProperty
return UnityEditor.SerializedProperty

property protected_oe property

The inspected property, of type AnimatorParameter.
protected SerializedProperty,UnityEditor property
return UnityEditor.SerializedProperty

targets protected_oe property

The targeted animators.
protected Animator[],UnityEngine targets
return UnityEngine.Animator[]