void CastingCheck() { if (!m_motionTrig && Input.GetButtonDown("Fire1")) { m_motionTrig = true; m_currentMotion = PLAYER_MOTION.CASTING; } }
void AttackCheck() { if (!m_motionTrig && Input.GetButtonDown("Fire2")) { m_motionTrig = true; m_currentMotion = PLAYER_MOTION.ATTACK; } }