Search Unity

  1. We are migrating the Unity Forums to Unity Discussions. On July 12, the Unity Forums will become read-only.

    Please, do not make any changes to your username or email addresses at id.unity.com during this transition time.

    It's still possible to reply to existing private message conversations during the migration, but any new replies you post will be missing after the main migration is complete. We'll do our best to migrate these messages in a follow-up step.

    On July 15, Unity Discussions will become read-only until July 18, when the new design and the migrated forum contents will go live.


    Read our full announcement for more information and let us know if you have any questions.

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.