Exemple #1
0
        public override void OnInspectorGUI()
        {
            currComboPiece = target as ComboAttackStruct;

            if (currComboPiece != null)
            {
                BasicDisplay();
            }
        }
        protected override void OnRecovery()
        {
            // Debug.Log("Recovery");
            ComboAttackStruct currComboAttack = (ComboAttackStruct)m_currAttackStruct;

            m_animator.SetFloat("PursueComboTimer", currComboAttack.pursueComboTimer);
            m_animator.SetTrigger("Comboing");
            IncrementIntParameter("ComboLength");

            m_animator.SetBool("Recovering", true);
            OnRecoveryStateEvent.Invoke(true);
            base.OnRecovery();
        }