- Home /
turning import renderer off
ive tried to turn off a mesh renderer for an improted object but it doesnt turn off because there is no mesh renderer what would i use for an improted object?
Does the object you import has mesh? because if doesnt its imposible to turn off a mesh that doesnt have mesh.
Answer by oliver-jones · Nov 20, 2010 at 11:32 PM
Try this and see if it does anything:
Write this script, then add it to a game empty on your scene:
var ImportedObject : renderer; //Drag your imported object here in the inspector
function Start() { ImportedObject.enabled = false; }
Your answer
Follow this Question
Related Questions
Why isn't this mesh not appearing properly? 0 Answers
Keep imported meshes reference in prefab 1 Answer
Dealing with Mesh parts & Animations 0 Answers
Good quality blender animations with bones become poor quality legacy animation in unity? 0 Answers
problems with mesh deformity when importing from blender 0 Answers