AnimatorParameter.Implicit
Operator in AnimatorParameter
Declaration
public static implicit operator AnimatorParameter(string name)Description
Implicitly converts a name to an animator parameter.
Parameters
| name | The name of the animator parameter. |
Returns
| AnimatorParameter | A new animator parameter with the given name. |
Overload
Declaration
public static implicit operator int (AnimatorParameter property)Description
Implicitly converts an animator parameter to a hash id.
Parameters
| property | The animator parameter to convert to an id. |
Returns
| int | The hash id of the animator parameter. |