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

Runtime Samples

Samples showcasing Flora's runtime features.

Fish Boids

Fish Boids animates many runtime-created instances with Unity Jobs.

Fish Boids sample with many instanced fish moving through the scene

Scene Path

Fish/Scenes/FishBoidsSample.unity

Demonstrates

  • Runtime creation and ownership of many instances

  • Job-based transform simulation

  • Batch update upload into Flora runtime

APIs

  • FloraSystem.GetOrCreate()

  • CreateInstances(...)

  • ScheduleUpdateInstanceWorldTransforms(...)

  • DestroyInstances(...)

Run

  1. Open FishBoidsSample and press Play.

  2. Confirm fish schools animate continuously.

  3. Confirm the fish move without per-fish rendering GameObjects.

Last updated