Example #1
0
    void Update()
    {
        if (_start.HitTestPoint(Input.mouseX, Input.mouseY) && Input.GetMouseButtonDown(0))
        {
            _game.SwitchRoom("Main");
            this.LateDestroy();
        }

        _quit.ExitMode();

        _start.BrighterOnHover();
        _quit.BrighterOnHover();
    }