Hi all
For my current Prototype I'd like to write a small utility script to massplace arbitrary Assets based on some rules.
The Unity built in trees or detail meshes don't do the trick for me as I want to use the new unity trees from the tree creator (which, to my knowledge, still don't work with the terrain script trees, as the animation is lost and other things with it), and I'd like to include colliders on some of the assets.
So is there any possibility to instantiate a prefab from a script at edittime? Is done just like what I would do to instantiate something at runtime, just from an editor script?