Hi! I’m becoming crazy with this problem, but maybe the solution it’s really simple…hope u can help me …
I want to prevent mouse interaction with the 3Dambient when a guilayout.window is opened.
I’lll try to explain better my problem: I’ve got a First Person Controller that moves in the ambient. When I touch an object (using raycasting tecnique) I want a popup window to open and show me informations about this object. I was able to set MouseLook.enable=false when my window is opened , so if I move the mouse without clicking it the camera doesn’t move and my FPC doesn’t move too.
The problem is that if I click anywhere, with my window opened, in the window or outside it, I can still interact with the ambient behind the window (for example I have a scrollbar in the window and if I scroll it the view behind the windows moves around following my mouse!!)
I really don’t understand what do I have to disactivate!! Anyone knows??
You probably want to disable your first person controller when you put up your menu.