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