I’m developing a menu with NativeUI and when I start the menu my camera is getting rotating until I move my mouse. When I click in the menu or go into a submenu it’s also all fine, but when I go from the submenu back into the main-menu it starts rotating again.
Can someone help me there?
As I think, you can’t really fix that in this resource, you will probably need to edit NativeUI itself then. BUT if you do not need the mouse anyway you can deactivate it.
No I don’t need the mouse. How can I deactivate it?
Ok I added these lines:
But now the camera is rotating in a submenu… how can I the disable the mouse for the submenu?
As I now the submenu has another name different from
So you will have somewhere a local (probably) where your submenu is stored, just rename it to it’s name if the submenu.
Edit: something like this:
local myname = createSubmenu()
Of course the function will not be createSubmenu, but it’s a example
Got it fixed! Thanks for your help!
How do I disable the rotation?
Thank you so much!!! This works for the EUP UI as well you just need to change _menuPoolMain to menuPool!
Where did you put it in the ui?
Did you find where to put this ?