- Home /
how to exit the FPSController and allow the mouse to click the button,How to exit the FPSController when changing scene?
I want to change from Scene1 to Scene 2 when the FPSController trigger with a collider. There is a button in Scene 2 and it allow the player go back to Scene 1 again . But when I change the scene from 1 to 2, the mouse doesn't work and I cannot click the button on Scene 2. In the Console it says "Exiting the FPSController" but I don't know what is that means. Here are the script I wrote for changing scene and the error in the Console.
Why cant you click the button? does the mouse not pop up? does the button do nothing wqhen you click it? do you get an error when you click the button? and please when asking questions post your code in code format, not a screenshot, even though its small and easy to read, its just good practise to get use to when asking questions