void Update()
 {
     if (dead)
     {
         return;
     }
     actionCurrentTime = actionCurrentTime + Time.deltaTime;
     if (actionCurrentTime >= (triggerActionTime - randomize) && !isActing)
     {
         TriggerAction();
     }
     if (damageController.CalculateHealth() <= 0 && !dead)
     {
         Die();
         dead = true;
         portal.SetActive(true);
     }
 }