Is there a performance difference between disabling an object’s renderer and disabling the gameObject itself?
The problem with using gameObject.active = false is that my script can’t find it anymore, so I was thinking of doing gameObject.renderer.enabled = false, but if I do that, will the gameObject still be computed by the engine?