Dodgeball.Game.Menu.onUp C# (CSharp) Method

onUp() public method

public onUp ( ) : void
return void
        void onUp()
        {
            selectedIndex--;
              if(selectedIndex < 0) selectedIndex = menuItems.Count - 1;
              Assets.getSound("select").Play(0.6f, -0.1f, 0);
        }