UnLock and Show Cursor

I am trying to make it so that on the start of my game, the cursor will show and it will unlock it. I have made an empty game object and put this script on it.

void Start () {
		Screen.lockCursor = false;
		Cursor.visible = true;
	}

When I am in the editor, there is nothing to lock the cursor so I don’t know if it is working, but when I build the game, the cursor does not show.

How can I make my finished game show the cursor and let me use it?

I am using C#.

You can use Cursor.lockState to lock the cursor.

Just implement this in your script

void SetCursorState (CursorLockMode wantedMode)
{
  Cursor.lockState = wantedMode;
  // Hide cursor when locking
  Cursor.visible = (CursorLockMode.Locked != wantedMode);
}

More info here