private void FightManager() { if (playerAction != PlayerAction.None && playerAction != PlayerAction.Tap) { lastActionTime = Time.time; if (IsComboAvailable()) { combo.AddComboInput(playerAction); } } if (combo.CurrentComboInputs.Count >= MINComboActionQuantity) { // Case when we don't find combo if (!combo.GetPlayerStateIfComboExist(out comboDmg)) { combo.ResetCombo(); } } DealDamage(); if (!IsComboAvailable()) { combo.ResetCombo(); } }