Animator Parameters Attribute
===

This attribute turns string properties into a popup of the parameters available inside an `Animator` in the inspector.

| Animator | Script | Inspector |
|--|--|--|
| ![Component](../READMEImg/AnimParamsAttr/AnimParams-Component.png) | ![Script](../READMEImg/AnimParamsAttr/AnimParams-Script.png) | ![Inspector](../READMEImg/AnimParamsAttr/AnimParams-Inspector.png) |

Usage
---

The component you want to use the attribute on must have an `Animator` exposed as a property/variable.

Use the `AnimParams` attribute on a `string` property/variable and the inspector will show a popup that lists all the parameter names available in the given `Animator`.

Pass the name of the `Animator` property as a string to the `AnimParams` attribute.

```C#
public class ExampleView : MonoBehaviour
{
	public Animator anim;

	// These are strings that we'll use to fire parameters in code
	// pass the name of the Animator variable/property as a string
	[AnimParams("anim")]
	public string paramIdleBool;

	[AnimParams("anim")]
	public string paramAttackTrigger;

	void Start()
	{
		// Use the property which will be filled with one of the
		// parameters names available in the animator in the inspector
		anim.SetBool(paramIdleBool, true);
	}
}
```

Animator Parameters Attribute
===

This attribute turns string properties into a popup of the parameters available inside an `Animator` in the inspector.

| Animator | Script | Inspector |
|---|---|---|
| ![Component](../READMEImg/AnimParamsAttr/AnimParams-Component.png) | ![Script](../READMEImg/AnimParamsAttr/AnimParams-Script.png) | ![Inspector](../READMEImg/AnimParamsAttr/AnimParams-Inspector.png) |

Usage
---

The component you want to use the attribute on must have an `Animator` exposed as a property/variable.

Use the `AnimParams` attribute on a `string` property/variable and the inspector will show a popup that lists all the parameter names available in the given `Animator`.

Pass the name of the `Animator` property as a string to the `AnimParams` attribute.

```C#
public class ExampleView : MonoBehaviour
{
	public Animator anim;

	// These are strings that we'll use to fire parameters in code
	// pass the name of the Animator variable/property as a string
	[AnimParams("anim")]
	public string paramIdleBool;

	[AnimParams("anim")]
	public string paramAttackTrigger;

	void Start()
	{
		// Use the property which will be filled with one of the
		// parameters names available in the animator in the inspector
		anim.SetBool(paramIdleBool, true);
	}
}
```

Fix tables in AnimParamsAttribute readme
Fix tables in AnimParamsAttribute readme
