Exemple #1
0
    public void RegenMap()
    {
        GameObject mapScript = GameObject.FindGameObjectWithTag("MapTiles");

        ms = mapScript.GetComponent <MapScript>();

        ms.generatorSettings = this.generatorSettings;
        ms.ResetMap();
    }