/// <summary> /// CC기를 적용하는 함수 /// </summary> /// <param name="effect">적용할 효과</param> /// <returns></returns> private IEnumerator CCEffect(SkillEffect effect) { status.ApplyCC(effect.ccType); yield return(new WaitForSeconds(effect.duration)); status.ApplyCC(CCType.None); }