Spawn foliage in realtime

Hello, I’d like to create procedural levels for my game. I’ll randomly pick a mesh (not a landscape… my levels are very small areas) as terrain and I’d like to spawn foliage on this mesh procedurally when the level starts.

Which is in your opinion the best way to go?
could I use the default foliage tool? (I checked the procedural foliage tool but I think this is not doing what I need, it seems to be useful to spawn foliage in “editor” mode and not in real time, right?)

Best thing would be to write your foliage spawner. It’s pretty easy. You could even just make them meshes ( rather the ISM ) depending on how small your levels are…