Search Unity

RigidbodyFirstPersonController + Gui???

Discussion in 'Immediate Mode GUI (IMGUI)' started by EnsurdFrndship, Apr 25, 2016.

  1. EnsurdFrndship

    EnsurdFrndship

    Joined:
    Apr 17, 2010
    Posts:
    786
    Hello,
    I notice how the RigidbodyFirstPersonController script hides the mouse, but what if I also want to use GUI in my game? How can I interact with my GUI controls WHILE using a first person controller? Also, once I press ESC (to get my mouse to un-hide itself so I CAN click on a GUI control to interact with it), when I click on the GUI control, the mouse re-hides itself and I can't exit OUT of the GUI control to stop my program during runtime. What could be done to fix these common problems?

    Thank you,
    Michael S. Lowe