- Home /
Import a prefab from file at runtime?
I want to import a prefab from Blah.prefab and then instantiate it in the game but I can't figure out how. How do I do it?
Comment
Does it have to be a prefab? I seem to be able to find methods to import .obj, but of course that won't carry any components with it.
Answer by AeonIxion · Nov 21, 2012 at 03:18 PM
Take a look at this page: http://docs.unity3d.com/Documentation/ScriptReference/Object.Instantiate.html?from=GameObject
Your answer
Follow this Question
Related Questions
How to load nested prefab? 1 Answer
Multiple Cars not working 1 Answer
How could I save my Gameobject inside a defined Prefab ? 1 Answer
Destroy Prefab with UI Slider 1 Answer
Need to load prefabs during runtime 1 Answer