Beispiel #1
0
    void EnemyKnocked()
    {
        _animations.StopAllanimations();
        if (isEnemy)
        {
            _animations.KnockedOutAnim();
            DisableEnemyScriptsAfterKnockedOut();
        }

        // Debug.Log("Enemy Knocked Out");
        // try to resolve null reference on combo finished or remove delegate and call it like normal function

        if (isPlayer)
        {
            _playerController.ComboFinished = false;
        }
        isKnockedOut = false;
    }