# Add a Effect to the Effect Manager

Let's create a quick sample on how to add a new **Effect** to the Controller.&#x20;

For example: We want to create a Ring of dust when the [**Little Dragon Tiger**](https://assetstore.unity.com/packages/3d/characters/creatures/64248?aid=1100lHT6) Jumps in place.

![Little Dragon Tiger](https://963537199-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-Lzhr1XSMzMqNXjRnNlb%2F-LzrfX-dOPQLooKiZx64%2F-LzrffXSqYztgsZryTAy%2Fimage.png?alt=media\&token=faa879d2-4899-4536-be71-b0e1058f9f9d)

* Select any character you want to add the Effect. In this Sample we will use the LD Tiger.
* If the character does not have an [**Effect Manager**](https://malbersanimations.gitbook.io/animal-controller/utilities/effect-manager) component, then we add it:

![](https://963537199-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-Lzhr1XSMzMqNXjRnNlb%2F-Lzm1WXBnGdJ_J4DJv2P%2F-Lzm25BD2BdkhXUOmPSH%2Fimage.png?alt=media\&token=59bc6cda-0edf-4466-a257-3986da104b9a)

* Add a new Effect to the [Effect Manager](https://malbersanimations.gitbook.io/animal-controller/utilities/effect-manager), Rename it *"Jump Dust"* and give it an **ID** of **50**

![](https://963537199-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-Lzhr1XSMzMqNXjRnNlb%2F-LzrhEYPy9kPDbJO3d4n%2F-Lzrs4HXk5HQ2fs08HoV%2FVZACOXjL4c.gif?alt=media\&token=df4c35da-5ced-4c51-b649-c8e1ede37e6b)

* Select the new Created Effect to show its properties:

![](https://963537199-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-Lzhr1XSMzMqNXjRnNlb%2F-LznrcmqE4sknHl3kOZI%2F-Lznu-cARtY_ECV5UGyv%2Fimage.png?alt=media\&token=911d9662-e6c4-4603-bcc3-34b2aee36e4d)

* On the Effect Field ... lets select one of the already made Prefabs.. "**Dust Ring**"

![](https://963537199-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-Lzhr1XSMzMqNXjRnNlb%2F-Lzo20B1HTAUf3qYrppc%2F-Lzo5U80s_SKUFFfXLfp%2Fimage.png?alt=media\&token=1347a513-9142-4c35-ae34-9b45d001d8e2)

* Set the [**Life**](https://malbersanimations.gitbook.io/animal-controller/utilities/effect-manager#life) Parameter to **4**. This will Destroy the Instantiated Dust Ring After 4 Seconds.

![](https://963537199-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-Lzhr1XSMzMqNXjRnNlb%2F-Lzo5eqohnTAC446mOB6%2F-LzoBMuVzJSUn30bRXF3%2Fimage.png?alt=media\&token=c8768def-51a9-462e-b05a-b73fa46a4208)

* On the Parent Group, Drag the Root Gameobject of your Character to the [**Root Field**](https://malbersanimations.gitbook.io/animal-controller/utilities/effect-manager#root).&#x20;

![](https://963537199-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-Lzhr1XSMzMqNXjRnNlb%2F-Lzo5eqohnTAC446mOB6%2F-LzoBvlr5WhIkxBjzyUL%2Fimage.png?alt=media\&token=d85011c5-fb53-443a-acb8-f606a616defe)

{% hint style="info" %}
This will Instantiate the Dust Ring Effect in the Same Position as the Root Gameobject
{% endhint %}

* Set [**Use Rotation**](https://malbersanimations.gitbook.io/animal-controller/utilities/effect-manager#use-root-rotation) and [**Is Child**](https://malbersanimations.gitbook.io/animal-controller/utilities/effect-manager#is-child) to **False,** that way the Effect won't be child of the Parent Object and it will keep its original rotation instead of the Parent's rotation
* Now we need to call the Event when the Little Dragon Jump. Go to the Animator Controller of the Character and search for the Jump State Machine.

![](https://963537199-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-Lzhr1XSMzMqNXjRnNlb%2F-LzrfX-dOPQLooKiZx64%2F-LzrgMUo1HVyITBg8-ej%2Fimage.png?alt=media\&token=8fdcca77-c47d-4029-b23a-6c3ad5c017e5)

![](https://963537199-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-Lzhr1XSMzMqNXjRnNlb%2F-LzrfX-dOPQLooKiZx64%2F-LzrgdF0cxcwokVFWAkR%2Fimage.png?alt=media\&token=1f1b63f3-8c7f-4e3a-a587-f4bef36f9cf2)

* Select the First Starting Jump Animation of the Little Dragon and add a new EffectBehaviour

<figure><img src="https://963537199-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-Lzhr1XSMzMqNXjRnNlb%2Fuploads%2F7240b83y8rWaI3zGGz8x%2Fimage.png?alt=media&#x26;token=e7439974-625d-4ae6-8375-987fc25ee8e5" alt=""><figcaption></figcaption></figure>

* On the **On Enter (Time = 0)** Set a new Play Effect with the Value of **50.**

<figure><img src="https://963537199-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-Lzhr1XSMzMqNXjRnNlb%2Fuploads%2FKOGeOoagQctKKLxmVi8w%2Fimage.png?alt=media&#x26;token=2e8928bf-cfbd-47e9-9708-51bd07d7475e" alt=""><figcaption></figcaption></figure>

**And that should be it!**

**Now every time the Little Dragon Jumps it will leave a Ring dust Effect:**

![Dust Ring when the Little Dragon plays the "Jump in Place" Animation](https://963537199-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-Lzhr1XSMzMqNXjRnNlb%2F-LzrvkYasJbg5qWCvBod%2F-Lzrvn7TKCaFsOv004BD%2FjOj3b6crQD.gif?alt=media\&token=c2d4f114-74eb-48a4-8fb0-7e0cbde2dfab)
