Scripting levels in Unity
Hi,
Im new to Unity and looking to gain more knowledge about it. I need some help on what to search for here, since Im sure others have done this.
I want to dynamically put objects in my level, by triggering or something. Are there easy ways to remove and add new objects (like walls, trees, a mountain, a monster etc)? Thankfull for all replies.
Comment
Answer by corn · Jan 14, 2016 at 07:58 PM
You can use Instantiate to create objects, and Destroy to remove them.
You also definitely need to get familiar with Prefabs. Check the manual on how to instantiate prefabs at runtime, and this tutorial.