Ummm... simple question - how do I deactivate (or remove) a component of a gameObject - can't find anything in the docs or forum thanks, Richard.
but I don't want to destroy the whole object - basically just deactivate a component (the mesh renderer actually). thanks, Richard.
This trick to understand is that a Component is also an Object. So Object.Destroy() applies. Try it. d.