Hi,
I’m new of Unity3d
I’d like to know how to load a model located in assets via scripts to my stage.
Thanks in advance
Bye
2 Answers
2At runtime or from the editor?
At runtime, read documentation on the Resources class.
http://unity3d.com/support/documentation/ScriptReference/Resources.html
From editor, the UnityEngine.Object.Instantiate(obj) function should work. Just need a reference to the prefab in your assets, and you will need to write an editor script.
thanks a lot!!!