private void BuildResources()
    {
        for (int i = 0; i < SavedPlanetForBattleStatic.resources.Count; i++)
        {
            if (SavedPlanetForBattleStatic.resources[i] == "Gold")
            {
                // players resource
                Resource playerResource = (Instantiate(resource, GetRandomResourcePosition("player"), Quaternion.identity));
                playerResource.BuildResourceObject("Gold");
                playerResource.tag = "PlayerResource";
                battleUIManager.PlaceResourceMeter("Gold");

                // enemies resource
                Resource enemyResource = (Instantiate(resource, GetRandomResourcePosition("enemy"), Quaternion.identity));
                enemyResource.BuildResourceObject("Gold");
                enemyResource.tag = "EnemyResource";
                enemyBattleManagerScript.myEnemyResources.Add(enemyResource);
            }
            else if (SavedPlanetForBattleStatic.resources[i] == "Iron")
            {
                Resource playerResource = (Instantiate(resource, GetRandomResourcePosition("player"), Quaternion.identity));
                playerResource.BuildResourceObject("Iron");
                playerResource.tag = "PlayerResource";
                battleUIManager.PlaceResourceMeter("Iron");

                Resource enemyResource = (Instantiate(resource, GetRandomResourcePosition("enemy"), Quaternion.identity));
                enemyResource.BuildResourceObject("Iron");
                enemyResource.tag = "EnemyResource";
                enemyBattleManagerScript.myEnemyResources.Add(enemyResource);
            }
            else if (SavedPlanetForBattleStatic.resources[i] == "Copper")
            {
                Resource playerResource = (Instantiate(resource, GetRandomResourcePosition("player"), Quaternion.identity));
                playerResource.BuildResourceObject("Copper");
                playerResource.tag = "PlayerResource";
                battleUIManager.PlaceResourceMeter("Copper");

                Resource enemyResource = (Instantiate(resource, GetRandomResourcePosition("enemy"), Quaternion.identity));
                enemyResource.BuildResourceObject("Copper");
                enemyResource.tag = "EnemyResource";
                enemyBattleManagerScript.myEnemyResources.Add(enemyResource);
            }
            else if (SavedPlanetForBattleStatic.resources[i] == "Nickel")
            {
                Resource playerResource = (Instantiate(resource, GetRandomResourcePosition("player"), Quaternion.identity));
                playerResource.BuildResourceObject("Nickel");
                playerResource.tag = "PlayerResource";
                battleUIManager.PlaceResourceMeter("Nickel");

                Resource enemyResource = (Instantiate(resource, GetRandomResourcePosition("enemy"), Quaternion.identity));
                enemyResource.BuildResourceObject("Nickel");
                enemyResource.tag = "EnemyResource";
                enemyBattleManagerScript.myEnemyResources.Add(enemyResource);
            }
            else if (SavedPlanetForBattleStatic.resources[i] == "Silver")
            {
                Resource playerResource = (Instantiate(resource, GetRandomResourcePosition("player"), Quaternion.identity));
                playerResource.BuildResourceObject("Silver");
                playerResource.tag = "PlayerResource";
                battleUIManager.PlaceResourceMeter("Silver");

                Resource enemyResource = (Instantiate(resource, GetRandomResourcePosition("enemy"), Quaternion.identity));
                enemyResource.BuildResourceObject("Silver");
                enemyResource.tag = "EnemyResource";
                enemyBattleManagerScript.myEnemyResources.Add(enemyResource);
            }
            else if (SavedPlanetForBattleStatic.resources[i] == "Cobalt")
            {
                Resource playerResource = (Instantiate(resource, GetRandomResourcePosition("player"), Quaternion.identity));
                playerResource.BuildResourceObject("Cobalt");
                playerResource.tag = "PlayerResource";
                battleUIManager.PlaceResourceMeter("Cobalt");

                Resource enemyResource = (Instantiate(resource, GetRandomResourcePosition("enemy"), Quaternion.identity));
                enemyResource.BuildResourceObject("Cobalt");
                enemyResource.tag = "EnemyResource";
                enemyBattleManagerScript.myEnemyResources.Add(enemyResource);
            }
            else if (SavedPlanetForBattleStatic.resources[i] == "Cadmium")
            {
                Resource playerResource = (Instantiate(resource, GetRandomResourcePosition("player"), Quaternion.identity));
                playerResource.BuildResourceObject("Cadmium");
                playerResource.tag = "PlayerResource";
                battleUIManager.PlaceResourceMeter("Cadmium");

                Resource enemyResource = (Instantiate(resource, GetRandomResourcePosition("enemy"), Quaternion.identity));
                enemyResource.BuildResourceObject("Cadmium");
                enemyResource.tag = "EnemyResource";
                enemyBattleManagerScript.myEnemyResources.Add(enemyResource);
            }
            else if (SavedPlanetForBattleStatic.resources[i] == "Iridium")
            {
                Resource playerResource = (Instantiate(resource, GetRandomResourcePosition("player"), Quaternion.identity));
                playerResource.BuildResourceObject("Iridium");
                playerResource.tag = "PlayerResource";
                battleUIManager.PlaceResourceMeter("Iridium");

                Resource enemyResource = (Instantiate(resource, GetRandomResourcePosition("enemy"), Quaternion.identity));
                enemyResource.BuildResourceObject("Iridium");
                enemyResource.tag = "EnemyResource";
                enemyBattleManagerScript.myEnemyResources.Add(enemyResource);
            }
            else if (SavedPlanetForBattleStatic.resources[i] == "Paladium")
            {
                Resource playerResource = (Instantiate(resource, GetRandomResourcePosition("player"), Quaternion.identity));
                playerResource.BuildResourceObject("Paladium");
                playerResource.tag = "PlayerResource";
                battleUIManager.PlaceResourceMeter("Paladium");

                Resource enemyResource = (Instantiate(resource, GetRandomResourcePosition("enemy"), Quaternion.identity));
                enemyResource.BuildResourceObject("Paladium");
                enemyResource.tag = "EnemyResource";
                enemyBattleManagerScript.myEnemyResources.Add(enemyResource);
            }
        }
    }