private IEnumerator enableAttack() { yield return(new WaitForSeconds(stats.AttackInterval())); canCast = true; }