Exemplo n.º 1
0
    void Start()
    {
        List <string> all_ressources = Ressources.getAllRessources();

        for (int i = 0; i < all_ressources.Count; i++)
        {
            ressourcesNeeded.Add(all_ressources[i], 0);
        }

        particule_system = GetComponentInChildren <ParticleSystem>();
        current_obj      = Instantiate(buildingEtapes[startingIndex.ToString()], transform.position, Quaternion.identity);
    }