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