- Home /
Question by
russell_murray · Oct 30, 2017 at 01:16 AM ·
import
importing objects during runtime
I am new to unity and am wondering how one might go about importing objects to the scene during runtime. I want to use Unity as an engine to create an animation renderer for a drone lightshow.
Comment
Answer by ghostmode · Oct 30, 2017 at 06:53 AM
Are you wanting to add game objects to the scene at runtime? In order to do this you first create 'prefabs', and then 'instantiate' them from a script.
Here's a short video explaining prefabs: https://unity3d.com/learn/tutorials/topics/interface-essentials/prefabs-concept-usage and another explaining instantiate: https://unity3d.com/learn/tutorials/topics/scripting/instantiate
Your answer
