Minor Daily Update

On my previous article, I have created the Camera follow-up and rotation according to the mouse input. However, on the Play mode, I was still observing my mouse pointer. Unity has a method for locking the cursor and making the mouse invisible. Today, I have added the method to make the mouse invisible during the game mode.

Here’s the properties of Cursore.LockMode method:

Once we hit the escape key, the the lock on the cursor is removed and mouse pointer becomes visible in the middle of the screen.