In this course you will learn how to build your own in-game spawn system for Unity which will allow you to create modding tools for your games, level editors or any kind of app that allows the user to decorate 3D worlds with objects. You will be walked through the process of building the scripting API that will contain the spawn functionality. Techniques such as surface snapping, axis alignment, drag spawn, mouse rotation/scale will be discussed and also a basic Undo/Redo system will be presented. Towards the end of the course, we will also implement 3 spawn effects in the form of C# scripts that can be attached to game objects. A spawn effect is executed when an object is spawned in the scene and there are 3 effects that we will discuss and implement: bounce, rotate and scale.
The final result is a solid spawn API that can serve as a great starting point for your own level editor/modding apps, RTS games or any application that allows the user to spawn objects in the scene.