- Home /
Question by
Team_26 · Mar 24, 2014 at 04:42 PM ·
renderingvisibilitymesh renderer
[CLOSED] First Person Controller's Mesh Renderer
Hi! I want to off FPC mesh renderer, but there's no this component in FPC. How can I make FPC invisible?
Comment
Just disable the mesh renderer in the inspector or use this:
renderer.enabled = false;
http://docs.unity3d.com/Documentation/ScriptReference/Renderer.html
I tell you: there're no mesh renderer in the object and when I attach this component it's doesn't work...
Look at the first person character controller. Expand it so you can see all the attached children. See the capsule called Graphics?
Now follow the advice given by @the_genius ....