// Update is called once per frame
 void Update()
 {
     if (important != null && Input.GetButtonDown("Jump"))
     {
         Be_enis.Bloom(important);
         Destroy(important);
     }
 }
 public override void OnStateUpdate(Animator animator, AnimatorStateInfo stateInfo, int layerIndex)
 {
     if (lastUpdateTime + updateTime > Time.time)
     {
         return;
     }
     else
     {
         Plant currentFlower = animator.GetComponent <Plant>();
         float progression   = currentFlower.GetProgression();
         if (progression >= 1 || progression < 0)
         {
             currentFlower.SwitchToNextState();
             FlowerAnimationState currState = animator.GetComponent <Plant>().GetCurrentState();
             animator.SetTrigger(Enum.GetName(typeof(FlowerAnimationState), (int)currState));
         }
         else
         {
             currentFlower.Bloom(progression);
             animator.SetFloat("Progression", progression);
         }
     }
 }