Ejemplo n.º 1
0
    public void ReturnToWorldMap()
    {
        List <Army> pArmies = new List <Army>();

        for (int i = 0; i < armies.Count; i++)
        {
            if (armies[i].playerId != 0)
            {
                continue;
            }
            pArmies.Add(new Army(armies[i].creatureId, armies[i].count));
        }
        PersistentData.EndCombat(pArmies);
        SceneManager.LoadScene("WorldScreen", LoadSceneMode.Single);
    }