Answer the question
In order to leave comments, you need to log in
How to make mouse control in Unity3D?
I want to make the camera control with the mouse, while the cursor should not move (as in Minecraft). How can this be implemented? (The cursor should not constantly move to the center with an update to the frame, but in principle is hidden and stand still.
Answer the question
In order to leave comments, you need to log in
When you enter the gameplay, turn off the cursor:
https://docs.unity3d.com/ScriptReference/Cursor-vi...
When you open the menu, turn it back on.
And the sight in the center should do it yourself.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question