How 2606360985/assembly-zero works
The repository combines a Unity factory-line demo/simulation with root-level Unity render-command-buffer interfaces and wrappers. The principal demo workflow is inferred from the scene, scenario asset, and runtime filenames; their source was not sampled, and the README excerpt provides no further detail. The sampled command-buffer code confirms forwarding to Unity’s wrapped command buffer, but not how these APIs are used by the demo.
Main entry points: SimulationDriver.cs Simulation driver · Authoring.cs Scene authoring · EP01_Demo.unity EP01 demo scene · Simulations.cs Simulation domain
Components 25
Factory Simulation
- EP01 demo scene
Assets/_AssemblyZero/Scenes/EP01_Demo.unity
Simulation Runtime
- Simulation driver
Assets/_AssemblyZero/Runtime/SimulationDriver.cs - Scenario config
Assets/_AssemblyZero/Runtime/ScenarioConfig.cs - Simulation domain
Assets/_AssemblyZero/Domain/Simulations.cs - Domain model
Assets/_AssemblyZero/Domain/Model.cs - Cargo source
Assets/_AssemblyZero/Runtime/SourceAuthoring.cs - Conveyor belts
Assets/_AssemblyZero/Runtime/BeltAuthoring.cs - Routing gates
Assets/_AssemblyZero/Runtime/GateAuthoring.cs - Cargo sink
Assets/_AssemblyZero/Runtime/SinkAuthoring.cs - Scene authoring
Assets/_AssemblyZero/Runtime/Authoring.cs - Metrics HUD
Assets/_AssemblyZero/Runtime/MetricsHud.cs - Order display
Assets/_AssemblyZero/Runtime/R01OrderDisplay.cs - Stage presentation
Assets/_AssemblyZero/Runtime/StagePresentationController.cs - Batch item renderer
Assets/_AssemblyZero/Runtime/BatchItemRenderer.cs
Command Buffers
- Base command API
IBaseCommandBuffer.cs - Compute command API
IComputeCommandBuffer.cs - Raster command API
IRasterCommandBuffer.cs - Unsafe command API
IUnsafeCommandBuffer.cs - Compute command wrapper
ComputeCommandBuffer.cs - Raster command wrapper
RasterCommandBuffer.cs - Unsafe command wrapper
UnsafeCommandBuffer.cs
Scene Assets
- EP01 scenario
Assets/_AssemblyZero/Configs/EP01Scenario.asset - Factory models and materials
Other components
- Demo user
- Unity command buffer
Connections 17
- Demo user → EP01 demo scene: opens
- EP01 demo scene → Simulation driver: hosts
- EP01 scenario → Scenario config: configures
- Simulation driver → Simulation domain: advances
- Simulation domain → Domain model: uses
- Scene authoring → Cargo source: authors
- Scene authoring → Conveyor belts: authors
- Scene authoring → Routing gates: authors
- Scene authoring → Cargo sink: authors
- Simulation driver → Metrics HUD: updates
- Simulation driver → Order display: updates
- Simulation driver → Stage presentation: drives
- Simulation driver → Batch item renderer: updates
- EP01 demo scene → Factory models and materials: uses
- Compute command wrapper → Unity command buffer: forwards calls
- Raster command wrapper → Unity command buffer: forwards calls
- Unsafe command wrapper → Unity command buffer: forwards calls