Quick Start¶
- Open
AnimationShowcase.unity. - Select
Generated/Ecology/EcosystemConfig_Demo. - Confirm that every enabled entry has a species name, fish prefab and ecology profile.
- Enter Play Mode.
- Select a fish from the observer panel to follow it.
What happens at runtime¶
EcosystemSpawner reads the config and creates a runtime population root. Each entry receives randomized size and locomotion values from its configured ranges. Ecology components are added to runtime instances; source fish prefabs remain unchanged.
The demo currently demonstrates:
- Fish wandering inside
FishSwimVolume. - Plants acting as infinite feeding sources.
- Carnivores selecting viable prey.
- Prey interrupting feeding only for meaningful nearby threats.
- Schooling, growth, reproduction, death and global population limits.
Resetting the demo¶
Run Setup Demo Scene to regenerate terrain, decoration, visual effects and the reusable ecosystem prefab connection. Existing non-empty species entries are not replaced.