Page cover
For the complete documentation index, see llms.txt. This page is also available as Markdown.

Container Samples

Scenes showcasing FloraInstanceContainer and FloraInstanceRenderer workflows without Unity Terrain.

These scenes use FloraInstanceContainer and FloraInstanceRenderer without Unity Terrain.

Container Mesh Sample

Four child containers place different prefabs on a rotating wall.

Scene Path

Containers/Scenes/ContainerMeshSample.unity

Demonstrates

  • different prefabs per container

  • parent-relative transforms

  • container rendering without Unity Terrain

Run

  1. Open ContainerMeshSample and press Play.

  2. Confirm each group uses its assigned prefab.

  3. Confirm all instances follow the wall while keeping their local offsets.

Container Prefab Sample

This scene combines:

  • Parent rock prefabs with LODGroup + FloraInstanceRenderer render as instanced prefab objects.

  • Child FloraInstanceContainer objects hold non-GameObject plant instances that stay parent-relative.

Scene Path

Containers/Scenes/ContainerPrefabSample.unity

Demonstrates

  • LODGroup prefabs through FloraInstanceRenderer

  • child plant data through FloraInstanceContainer

  • parent-relative motion without Unity Terrain

Run

  1. Open ContainerPrefabSample and press Play.

  2. Confirm rocks render and rotate.

  3. Confirm child plants follow their rocks with stable offsets.

Last updated