public void Utility(Text newText) { if (heroClass.getActionPoints().isReady() && heroClass.isAlive()) { anim.SetTrigger(attackHash); PlayerController.GetComponent <PlayerController>().createIcon(utilityPrefab, Icon.BerserkerRoar); audioSource.PlayOneShot(utilitySound); strength(); } }