Question by
liondreemzyt · May 11 at 09:40 AM ·
beginner
I want to know how to make a script that once a scene loads a script executes? (Unity Btw)
So im making a game and when the scene changes from menu to game cursor goes away and when i try to go back to main menu cursor goes away and cant do anything so im trying to know how to make a script on when scene loads a script executes so when i load to menu scene my mouse unlock script loads
Comment
Any enabled script component with either Awake
, OnEnable
or Start
method will do that for you
Your answer
