Re: Question About a Main Menu Scene
Posted: Tue Feb 12, 2019 12:33 pm
It was a typo. I meant "CursorLockMode" instead of "LockState". I fixed it above.
If F5 reloads the main menu while you're in the main menu, make sure the script that responds to F5 is on a GameObject in the gameplay scene that isn't a "Don't Destroy On Load" GameObject. (The Dialogue Manager GameObject is a "Don't Destroy On Load" GameObject.)
If F5 reloads the main menu while you're in the main menu, make sure the script that responds to F5 is on a GameObject in the gameplay scene that isn't a "Don't Destroy On Load" GameObject. (The Dialogue Manager GameObject is a "Don't Destroy On Load" GameObject.)