How do we access static prefabs?

Hi Friends,

How do we access static prefabs of the same kind in the scene through scripting?

Regards,
vanhouten777.

Ok, i think i get what you want (at least it’s a bit more clear now). So you talk about Unity’s terrain engine and the tree-detail prefabs.

The TerrainData of your terrain script contains everything about the terrain. I guess you want either: