Exemplo n.º 1
0
 void OnFlicker()
 {
     if (flickerOn)
     {
         screen.ResetInvertBlock(x, y);
         screen.Apply();
         flickerOn = false;
     }
     else
     {
         screen.SetInvertBlock(x, y);
         screen.Apply();
         flickerOn = true;
     }
 }