Setting A Gameobject Variable to Nothing?
NullReferenceException: Object reference not set to an instance of an object
I have a public gameobject but only want it set to an actual object sometimes. The problem is if i intentionally set it to null or leave it emty unity throws up this error.