Not sure if this is the right place for this question, this new forum is weird.
A tale of two maps: a main map, a city and a building map.
The building map is 2d with canvas and panel and buttons to do things, one of which is exit, which loads the city scene. The city is 3d.
Here is the rub: When you go into the building it works fine but when you hit the button to go out, it does not function, the colors do not change as expected.
YET, if you load the building map and try the exit button, it functions perfectly well.
Anyone have any thoughts? If you need code, let me know.
Thanks in advance!
If anyone else has been pulling their hair out over this, I have the solution:
Cursor.visible = true;
Cursor.lockState = CursorLockMode.None;
put this is start and all your 2d buttons will work. Because my city was 3d and my building was 2d, the cursor wasn’t visible and therefore the buttons did not function.