Search Unity

Menubar

Discussion in 'Editor & General Support' started by forestjohnson, Jun 3, 2006.

  1. forestjohnson

    forestjohnson

    Joined:
    Oct 1, 2005
    Posts:
    1,370
    Is it possible to hide the menubar and mouse cursor when creating a build of a Unity game? I noticed I can access the menubar while ingame, eg: I move my mouse the the top left corner, click, drag down, and unclick. While I do this the game pauses. When I quit the game, I notice that the system prefs window is open :? This is with an fps so something like this happens almost every time I aim up and click.

    Also, the same system mouse cursor is there all the time while I am playing my fps, which really really bugs me.

    Is there any way to hide this stuff ingame? If not I guess this is a feature request.
     
  2. Joachim_Ante

    Joachim_Ante

    Unity Technologies

    Joined:
    Mar 16, 2005
    Posts:
    5,203
    The menu bar remaining on screen is a bug and fixed with the next release.

    The cursor can be removed using. This will only hide the cursor in full screen mode.
    Code (csharp):
    1.  
    2. Screen.showCursor = false;
    3.  
     
  3. forestjohnson

    forestjohnson

    Joined:
    Oct 1, 2005
    Posts:
    1,370
    Oh, Thanks. :)
     
  4. RockHound

    RockHound

    Joined:
    Apr 14, 2006
    Posts:
    132
    I presume then that the mouse pointer cannot be hid in the web player. Correct?
     
  5. Mindless_Soul

    Mindless_Soul

    Joined:
    Feb 1, 2006
    Posts:
    128
    Just like the standalone, if you enter full screen (via right click) on a webplayer it will hide the cursor if the script is present.