This is really frustrating. I’ve been trying to do this for the past two days.
So I’ve added this to my script to hide the custom cursor while text boxes are present:
GameObject Player = GameObject.Find("Main Camera");//with the variables
Player.GetComponent<RoomCursor>().enabled = true;//under OnMouseDown, where the text boxes are toggled
EVERY SINGLE TIME I try to do this, I always get the same error:
“The type or namespace name `RoomCursor’ could not be found. Are you missing a using directive or an assembly reference?”
Is there anything I’m doing wrong?