/// <summary> /// Main method sets up container and resolves the type. /// </summary> /// <param name="args"> /// The program args. /// </param> public static void Main(string[] args) { var container = new ModeContainer(); container.ResolveModeParser() .Parse(args) .Execute(); }
/// <summary> /// Main method sets up container and resolves the type. /// </summary> /// <param name="args"> /// The program args. /// </param> public static void Main(string[] args) { var container = new ModeContainer(); container.ResolveModeParser() .Parse(args) .Execute(); }
public void UpdateModeDisplay() { current = Mathf.Clamp(current, 0, modes.Length - 1); RythmGameSettings.GameMode = modes[current].mode; UpdateButtonsVisibility(); SetSliderVisibility(); UpdateText(); lastDisplayedMode = modes[current]; }