How to place objects in-game?
I have some prefab objects such as trees, flowers, bridges etc and I need a script to place them in-game. I've been searching for a while now, with no luck. I'm not looking for them to be placed on any kind of grid.
Answer by Redwolve · Apr 12, 2016 at 03:44 AM
http://docs.unity3d.com/ScriptReference/Object.Instantiate.html
This should lead you where you need to be, can be hard to find if you don't search for Instantiate in which you wouldn't know of it unless you've use it. hope this helps, let me know and I can attempt better help.
Thanks! This is definitely a step in the right direction.
I think what I'm gonna do now is try to assign it a button in the UI.. which is probably easier said than done for me.
I'll let you know if I get stuck again.