コード例 #1
0
        void CalcBiome()
        {
            BiomeDefinition biome = env.GetBiome(inputAltitude, inputMoisture);

            if (biome == null)
            {
                biomeTestResult = "No matching biome.";
            }
            else
            {
                biomeTestResult = "Matching biome: " + biome.name + ".";
            }
        }