Esempio n. 1
0
    void Update()
    {
        var resolution = screenView.resolution;

        for (int i = 0; i < 128; i++)
        {
            int x = Random.Range(0, resolution.x);
            int y = Random.Range(0, resolution.y);

            screenView.SetPixel(x, y, (byte)Random.Range(0, 15));
        }
    }