public override void ConfirmPressed()
 {
     if (Max - Min == 1)
     {
         if (Index == Min)
         {
             Audio.Play("event:/ui/main/button_toggle_on");
         }
         else
         {
             Audio.Play("event:/ui/main/button_toggle_off");
         }
         PreviousIndex = Index;
         LastDir       = Index == Min ? 1 : -1;
         Index         = Index == Min ? Max : Min;
         ValueWiggler.Start();
         OnValueChange?.Invoke(Index);
     }
 }
        public override void RightPressed()
        {
            if (Input.MenuRight.Repeating)
            {
                fastMoveTimer += Engine.DeltaTime * 8;
            }
            else
            {
                fastMoveTimer = 0;
            }

            if (Index < Max)
            {
                Audio.Play("event:/ui/main/button_toggle_on");
                PreviousIndex = Index;
                Index        += GetIndexDelta();
                Index         = Math.Min(Max, Index); // ensure we stay within bounds
                LastDir       = 1;
                ValueWiggler.Start();
                OnValueChange?.Invoke(Index);
            }
        }