How To Hide And Lock The Cursor in Unity
Itturnsoutthat'snotthereason.Byturningoffdomainreload,youcancompletelyavoidshowingamodaldialogwhenenteringplaymode.,ThesolutionistoputthepartofthemousecursoronlyintheStartandlikethis:voidStart(){Cursor.lockState=CursorLockMode.Locked;Cursor.lockS...。參考影片的文章的如下: