void AblitiesCheck() { if (Ghoster >= 0) { Ghoster -= Time.deltaTime; Ghost.SetActive(true); controller.Anim.SetBool("Ghost", true); } else { Ghost.SetActive(false); controller.Anim.SetBool("Ghost", false); } if (Warper >= 0) { Warper -= Time.deltaTime; Warp.SetActive(true); } else { Warp.SetActive(false); } if (Time.timeScale != 1f && Warper <= 0 && GameManager.Instance.isPaused == false) { Time.timeScale = 1f; } if (Blaster >= 0) { Blaster -= Time.deltaTime; Blast.SetActive(true); } else { Blast.SetActive(false); } }