unity 3d make object invisible code example Example: how to make an object invisible unity GetComponent(MeshRenderer).enabled = false;