# sp0litak/delivery architecture

> Architecture diagram of the GitHub repository sp0litak/delivery, generated by GitDiagram from its file tree, README and a sample of source files (last updated 2026-09-25). It is an AI-made overview: check details against the source.

- Interactive diagram: https://gitdiagram.com/sp0litak/delivery
- Repository: https://github.com/sp0litak/delivery

## Overview

This is a Unity stylized 3D delivery game set around a gas station. The documented user flow is player gameplay through delivery mechanics and interaction with the environment, presented in delivery scenes. The scene and gameplay implementation is grouped at the documented `_Game` directory because no source excerpts or deeper tree were provided; connections beyond README-described relationships are intentionally omitted.

Main entry points: [`Assets/Toon Gas Station`](https://github.com/sp0litak/delivery/tree/main/Assets/Toon%20Gas%20Station) (Gas Station Assets), [`Assets/_Game`](https://github.com/sp0litak/delivery/tree/main/Assets/_Game) (Delivery Mechanics), [`Assets/Toon Gas Station/Shaders`](https://github.com/sp0litak/delivery/tree/main/Assets/Toon%20Gas%20Station/Shaders) (Toon Shaders), [`Assets/Toon Gas Station/Models`](https://github.com/sp0litak/delivery/tree/main/Assets/Toon%20Gas%20Station/Models) (Models and Prefabs)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_gameplay["Delivery Gameplay"]
  node_game_logic["Delivery Mechanics"]
  node_delivery_scenes["Delivery Scenes"]
end

subgraph group_world["Game World"]
  node_gas_assets["Gas Station Assets"]
  node_models["Models and Prefabs"]
  node_terrain["Terrain Assets"]
end

subgraph group_visuals["Visual Presentation"]
  node_toon_shaders["Toon Shaders"]
  node_render_settings["Render Settings"]
  node_textmesh["TextMesh Pro"]
end

node_player(("Player"))
node_unity["Unity Engine"]

node_player -->|"plays"| node_game_logic
node_game_logic -->|"interacts with"| node_gas_assets
node_unity -->|"runs"| node_delivery_scenes
node_delivery_scenes -->|"uses"| node_gas_assets
node_gas_assets -->|"includes"| node_models
node_gas_assets -->|"includes"| node_terrain
node_toon_shaders -->|"styles"| node_gas_assets
node_unity -->|"uses"| node_render_settings
node_unity -->|"renders text"| node_textmesh

click node_game_logic "https://github.com/sp0litak/delivery/tree/main/Assets/_Game"
click node_delivery_scenes "https://github.com/sp0litak/delivery/tree/main/Assets/_Game"
click node_gas_assets "https://github.com/sp0litak/delivery/tree/main/Assets/Toon%20Gas%20Station"
click node_models "https://github.com/sp0litak/delivery/tree/main/Assets/Toon%20Gas%20Station/Models"
click node_terrain "https://github.com/sp0litak/delivery/tree/main/Assets/Toon%20Gas%20Station/Terrain"
click node_toon_shaders "https://github.com/sp0litak/delivery/tree/main/Assets/Toon%20Gas%20Station/Shaders"
click node_render_settings "https://github.com/sp0litak/delivery/tree/main/Assets/Settings"
click node_textmesh "https://github.com/sp0litak/delivery/tree/main/Assets/TextMesh%20Pro"

classDef toneNeutral fill:#f8fafc,stroke:#334155,stroke-width:1.5px,color:#0f172a
classDef toneBlue fill:#dbeafe,stroke:#2563eb,stroke-width:1.5px,color:#172554
classDef toneAmber fill:#fef3c7,stroke:#d97706,stroke-width:1.5px,color:#78350f
classDef toneMint fill:#dcfce7,stroke:#16a34a,stroke-width:1.5px,color:#14532d
classDef toneRose fill:#ffe4e6,stroke:#e11d48,stroke-width:1.5px,color:#881337
classDef toneIndigo fill:#e0e7ff,stroke:#4f46e5,stroke-width:1.5px,color:#312e81
classDef toneTeal fill:#ccfbf1,stroke:#0f766e,stroke-width:1.5px,color:#134e4a
class node_game_logic,node_delivery_scenes toneBlue
class node_gas_assets,node_models,node_terrain toneAmber
class node_toon_shaders,node_render_settings,node_textmesh toneMint
class node_player,node_unity toneIndigo
```

## Components

### Delivery Gameplay

- [Delivery Mechanics](https://github.com/sp0litak/delivery/tree/main/Assets/_Game): `Assets/_Game`
- [Delivery Scenes](https://github.com/sp0litak/delivery/tree/main/Assets/_Game): `Assets/_Game`

### Game World

- [Gas Station Assets](https://github.com/sp0litak/delivery/tree/main/Assets/Toon%20Gas%20Station): `Assets/Toon Gas Station`
- [Models and Prefabs](https://github.com/sp0litak/delivery/tree/main/Assets/Toon%20Gas%20Station/Models): `Assets/Toon Gas Station/Models`
- [Terrain Assets](https://github.com/sp0litak/delivery/tree/main/Assets/Toon%20Gas%20Station/Terrain): `Assets/Toon Gas Station/Terrain`

### Visual Presentation

- [Toon Shaders](https://github.com/sp0litak/delivery/tree/main/Assets/Toon%20Gas%20Station/Shaders): `Assets/Toon Gas Station/Shaders`
- [Render Settings](https://github.com/sp0litak/delivery/tree/main/Assets/Settings): `Assets/Settings`
- [TextMesh Pro](https://github.com/sp0litak/delivery/tree/main/Assets/TextMesh%20Pro): `Assets/TextMesh Pro`

### Other components

- **Player**
- **Unity Engine**

## Connections

- Player → Delivery Mechanics: plays
- Delivery Mechanics → Gas Station Assets: interacts with
- Unity Engine → Delivery Scenes: runs
- Delivery Scenes → Gas Station Assets: uses
- Gas Station Assets → Models and Prefabs: includes
- Gas Station Assets → Terrain Assets: includes
- Toon Shaders → Gas Station Assets: styles
- Unity Engine → Render Settings: uses
- Unity Engine → TextMesh Pro: renders text
