C# Class UnityToolbag.AnimParamsAttribute

Inheritance: UnityEngine.PropertyAttribute
显示文件 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_oe property

public string animPath
return string

isConfig public_oe property

public bool isConfig
return bool