Beispiel #1
0
    public void postBattleActions()
    {
        cameraLocked   = false;
        timeMultiplier = 1;
        canCheckpoint  = true;
        Vector3 pos = currentBattleState.winningEntity.gameObject.transform.position;

        if (currentBattleState.winningEntity.isPlayer)
        {
            notificationHandler.AddBattleWonNotification(playerFlag);
            StartCoroutine(spawnHunters(currentBattleState.winningEntity.transform.position));
        }
        else
        {
            notificationHandler.AddBattleLostNotification(enemyFlag);
        }
    }