- Home /
Instantiate object with renderer disabled
Is it possible to instantiate an object from an asset bundle with its renderer disabled? or would I have to disable it before I build the asset bundle?
You can disable it on the prefab before you package it in an asset bundle or put a script which disables the renderer on Awake().
Instantiate the gameobject and then in the next line disable the mesh renderer of instantiated game object or you can use ZenithCodes method.
Answer by citizen_rafiq · Aug 30, 2013 at 12:00 PM
The minimum component need for Instantiate a game object from asset bundle is it's Transform.('_')
Your answer
Follow this Question
Related Questions
Material Switching Upon Instantiation. over my head 0 Answers
Checking if object intersects? 1 Answer
Instantiated object from asset bundle is null 0 Answers
Access the renderer of a clones child object 1 Answer
Missing Material in AssetBundle Prefab 3 Answers