mathf.perlinnoise unity c# code example Example: perlin noise unity Mathf.PerlinNoise(x, y); //Return value is between 0.0 and 1.0