unity hide mouse if not used code example
Example 1: unity hide mouse
Cursor.visible = false;
Example 2: how to make mouse invisible unity
void Start()
{
Cursor.visible = false;
}
Cursor.visible = false;
void Start()
{
Cursor.visible = false;
}