10. In the Animation component, turn off Play Automatically.
11. Add the AniTest script to the Flower.
12. Set the Ani Parent variable to Flower.
13. Set the AniClip variable to flower revive.
14. Click Play and pick the Flower.
The flower slowly comes to life.
15. Stop Play mode.
Next you’ll trigger the looping flower idle clip by picking the Pollen Ball. Rather than starting from scratch,
you can copy and paste the script component.
1. Stop Play mode.
2. Expand the Flower in the Hierarchy until you can find the Pollen Ball.
3. Add a Sphere Collider to it and set its radius to 0.3.
4. Click Play.
5. Pick the Flower and observe the Pollen Ball’s collider in the Scene window to assure
yourself that it will scale with the Pollen Ball (Figure 8-7).