C# Class UnityToolbag.AnimParamsAttribute

Inheritance: UnityEngine.PropertyAttribute
Show file Open project: ChemiKhazi/UnityToolbag Class Usage Examples

Public Properties

Property Type Description
animPath string
isConfig bool

Public Methods

Method Description
AnimParamsAttribute ( string animatorPropName ) : System

Show the parameters of an Animator as a drop down in the inspector

AnimParamsAttribute ( string configPath, bool isConfig ) : System

Show the parameters of an Animator as a drop down in the inspector

Method Details

AnimParamsAttribute() public method

Show the parameters of an Animator as a drop down in the inspector
public AnimParamsAttribute ( string animatorPropName ) : System
animatorPropName string The field name of an Animator component in the same MonoBehaviour
return System

AnimParamsAttribute() public method

Show the parameters of an Animator as a drop down in the inspector
public AnimParamsAttribute ( string configPath, bool isConfig ) : System
configPath string The field name of the Animator or AnimParamsConfig in this MonoBehaviour
isConfig bool If true, configPath points to an AnimParamsConfig
return System

Property Details

animPath public property

public string animPath
return string

isConfig public property

public bool isConfig
return bool