Exemplo n.º 1
0
 // OnClickAuto and Toggle Active Auto mode.
 void OnClickAuto()
 {
     ViNo.autoMode = !ViNo.autoMode;
     if (autoModePanel != null)
     {
         if (ViNo.autoMode)
         {
             autoModePanel.SetActiveColor();
         }
         else
         {
             autoModePanel.SetDeactiveColor();
         }
     }
 }
Exemplo n.º 2
0
 void OnClickSkip()
 {
     // Toggle Skip.
     ViNo.skip = !ViNo.skip;
     if (autoSkipPanel != null)
     {
         if (ViNo.skip)
         {
             autoSkipPanel.SetActiveColor();
         }
         else
         {
             autoSkipPanel.SetDeactiveColor();
         }
     }
 }