How to hide, lock or change mouse cursor in unity3d
Itturnsoutthat'snotthereason.Byturningoffdomainreload,youcancompletelyavoidshowingamodaldialogwhenenteringplaymode.,ThesolutionistoputthepartofthemousecursoronlyintheStartandlikethis:voidStart(){Cursor.lockState=CursorLockMode.Locked;Cursor.lockS...。參考影片的文章的如下: