Esempio n. 1
0
 public void ResetData()
 {
     m_eInput = KEY_INPUT.KEY_NONE;
     m_PlayerAnimator.SetBool("Attack", false);
     m_PlayerAnimator.SetBool("Ultimate", false);
     m_iCurKey = 0;
     m_PlayerAnimator.SetInteger("ComboCount", m_iCurKey);
     m_fCurPressTime = 0.0f;
 }
Esempio n. 2
0
 IEnumerator OnPressTime()
 {
     while(true)
     {
         yield return null;
         m_fCurPressTime += Time.deltaTime;
         //처음 누를때 시간만 체크하고
         if (m_fCurPressTime >= m_fPressTime)
             m_eInput = KEY_INPUT.KEY_PRESS;
         else if (m_fCurPressTime < m_fPressTime)
             m_eInput = KEY_INPUT.KEY_CLICK;
     }
 }