private void CheckForHoverBar()
    {
        _beer.BrighterOnHoverShop();
        _cubaLibre.BrighterOnHoverShop();
        _juice.BrighterOnHoverShop();
        _margarita.BrighterOnHoverShop();
        _soda.BrighterOnHoverShop();
        _water.BrighterOnHoverShop();
        _wine.BrighterOnHoverShop();

        _order.BrighterOnHover();
        _backBar.BrighterOnHover();
    }
Пример #2
0
    void Update()
    {
        if (_start.HitTestPoint(Input.mouseX, Input.mouseY) && Input.GetMouseButtonDown(0))
        {
            _game.SwitchRoom("Main");
            this.LateDestroy();
        }

        _quit.ExitMode();

        _start.BrighterOnHover();
        _quit.BrighterOnHover();
    }
    private void CheckForHoverShop()
    {
        _costume.BrighterOnHoverShop();
        _giftcard.BrighterOnHoverShop();
        _tshirt.BrighterOnHoverShop();
        _plushie.BrighterOnHoverShop();
        _foodVoucher.BrighterOnHoverShop();
        _headphones.BrighterOnHoverShop();
        _nintendoSwitch.BrighterOnHoverShop();
        _xBox.BrighterOnHoverShop();
        _playstation.BrighterOnHoverShop();

        _order.BrighterOnHover();
        _backShop.BrighterOnHover();
    }
 void Update()
 {
     MouseInputButtons();
     _startButton.BrighterOnHover();
     _quitButton.BrighterOnHover();
 }
 void Update()
 {
     MouseInputButtons();
     _mainMenuButton.BrighterOnHover();
     _quitButton.BrighterOnHover();
 }