Example #1
0
    void OnTriggerExit(Collider other)
    {
        if (other.gameObject.CompareTag("Player") && LevelManager.instance.currentGameState != LevelManager.GameState.COMBO && !proj.deflected)
        {
            PlayerStats player = other.GetComponent <PlayerStats>();

            player.AddCombo(nearMissCombo);
            LevelManager.instance.uiHandler.ComboBarAnim();
        }
    }