Esempio n. 1
0
            /// <summary>
            /// 공격 데미지 적용 타이밍
            /// </summary>
            /// <returns></returns>
            virtual protected IEnumerator AttackDelay()
            {
                delayTime  = 0;
                IsFire     = true;
                AttackWait = false;
                Ani.AttackAni();

                yield return(new WaitForSeconds(1.0f));

                IsFire = false;
            }
Esempio n. 2
0
            protected override IEnumerator AttackDelay()
            {
                delayTime  = 0;
                IsFire     = true;
                AttackWait = false;
                Ani.AttackAni();

                //수류탄 던짐
                GreadeAttack();

                yield return(new WaitForSeconds(1.0f));

                IsFire = false;
            }