Daniel Lip
Daniel Lip

Reputation: 11329

If I disable object mesh renderer will it affect anything wrong?

I have a Sphere that is a child. The problem is that in the game I see it in front of the camera and I don't want to see it but still want to use.

If I uncheck and disable the Mesh Renderer component it might make the Sphere not working as what it needed for ?

Mesh Renderer

Upvotes: 1

Views: 1252

Answers (1)

Roberto
Roberto

Reputation: 11933

No. The mesh renderer only draws the object in the scene, if it's disabled it will stop drawing it. Everything else will still work: if it has a collider it can collide or be clicked on, if it has a rigid body it will have certain physical properties, it will be found if you call Object.FindObjectOfType(), and so on.

Now it's a different story if you disable its game object.

Upvotes: 4

Related Questions