# dariuskusnierz/project-new-dimension architecture

> Architecture diagram of the GitHub repository dariuskusnierz/project-new-dimension, generated by GitDiagram from its file tree, README and a sample of source files (last updated 2026-10-12). It is an AI-made overview: check details against the source.

- Interactive diagram: https://gitdiagram.com/dariuskusnierz/project-new-dimension
- Repository: https://github.com/dariuskusnierz/project-new-dimension

## Overview

The README describes the game New Dimension: explore as a traveler, help village residents, and reach the cave to rescue the protagonist’s sister from Zugg. The provided tree and source excerpts, however, consist of Unity package-cache code, not the game’s own scripts or assets. The sampled behavior therefore supports describing Timeline editing and editor services only; it does not establish the game’s runtime workflow or connect the package code to it.

Main entry points: [`Project New Dimension/Library/PackageCache/com.unity.timeline@1.4.8/Editor/State/WindowState.cs`](https://github.com/dariuskusnierz/project-new-dimension/blob/main/Project%20New%20Dimension/Library/PackageCache/com.unity.timeline%401.4.8/Editor/State/WindowState.cs) (Window State), [`Project New Dimension/Library/PackageCache/com.unity.timeline@1.4.8/Editor/Manipulators/Move/MoveItemHandler.cs`](https://github.com/dariuskusnierz/project-new-dimension/blob/main/Project%20New%20Dimension/Library/PackageCache/com.unity.timeline%401.4.8/Editor/Manipulators/Move/MoveItemHandler.cs) (Move Items), [`Project New Dimension/Library/PackageCache/com.unity.timeline@1.4.8/Editor/Manipulators/EditModeInputHandler.cs`](https://github.com/dariuskusnierz/project-new-dimension/blob/main/Project%20New%20Dimension/Library/PackageCache/com.unity.timeline%401.4.8/Editor/Manipulators/EditModeInputHandler.cs) (Edit Input), [`Project New Dimension/Library/PackageCache/com.unity.timeline@1.4.8/Editor/Actions/ActionManager.cs`](https://github.com/dariuskusnierz/project-new-dimension/blob/main/Project%20New%20Dimension/Library/PackageCache/com.unity.timeline%401.4.8/Editor/Actions/ActionManager.cs) (Action Manager)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_timeline["Timeline Editor"]
  node_window["Timeline Window<br/>[TimelineWindow.cs]"]
  node_state["Window State<br/>[WindowState.cs]"]
  node_input["Edit Input"]
  node_edit["Edit Modes<br/>[EditMode.cs]"]
  node_move["Move Items<br/>[MoveItemHandler.cs]"]
  node_snap["Snap Engine<br/>[SnapEngine.cs]"]
  node_actions["Action Manager<br/>[ActionManager.cs]"]
  node_timelineasset["Timeline Asset<br/>[TimelineAsset.cs]"]
  node_track["Track Asset<br/>[TrackAsset.cs]"]
  node_clip["Timeline Clip<br/>[TimelineClip.cs]"]
end

subgraph group_services["Editor Services"]
  node_stateprovider["Project State<br/>[ProjectState.cs]"]
  node_rolehandler["User Role Handler<br/>[UserRoleHandler.cs]"]
  node_settings["Service Settings UI"]
end

node_editor(("Unity Editor User"))

node_editor -.->|"edits timelines"| node_window
node_window -->|"creates state"| node_state
node_state -->|"provides state"| node_snap
node_input -->|"delegates moves"| node_move
node_input -->|"invokes edit modes"| node_edit
node_edit -->|"starts moves"| node_move
node_move -->|"updates state"| node_state
node_snap -->|"reads state"| node_state
node_actions -->|"executes track actions"| node_track
node_actions -->|"discovers clip actions"| node_clip
node_rolehandler -->|"reads project state"| node_stateprovider
node_settings -->|"reads project state"| node_stateprovider

click node_window "https://github.com/dariuskusnierz/project-new-dimension/blob/main/Project%20New%20Dimension/Library/PackageCache/com.unity.timeline%401.4.8/Editor/Window/TimelineWindow.cs"
click node_state "https://github.com/dariuskusnierz/project-new-dimension/blob/main/Project%20New%20Dimension/Library/PackageCache/com.unity.timeline%401.4.8/Editor/State/WindowState.cs"
click node_input "https://github.com/dariuskusnierz/project-new-dimension/blob/main/Project%20New%20Dimension/Library/PackageCache/com.unity.timeline%401.4.8/Editor/Manipulators/EditModeInputHandler.cs"
click node_edit "https://github.com/dariuskusnierz/project-new-dimension/blob/main/Project%20New%20Dimension/Library/PackageCache/com.unity.timeline%401.4.8/Editor/Manipulators/EditMode.cs"
click node_move "https://github.com/dariuskusnierz/project-new-dimension/blob/main/Project%20New%20Dimension/Library/PackageCache/com.unity.timeline%401.4.8/Editor/Manipulators/Move/MoveItemHandler.cs"
click node_snap "https://github.com/dariuskusnierz/project-new-dimension/blob/main/Project%20New%20Dimension/Library/PackageCache/com.unity.timeline%401.4.8/Editor/treeview/Snapping/SnapEngine.cs"
click node_actions "https://github.com/dariuskusnierz/project-new-dimension/blob/main/Project%20New%20Dimension/Library/PackageCache/com.unity.timeline%401.4.8/Editor/Actions/ActionManager.cs"
click node_timelineasset "https://github.com/dariuskusnierz/project-new-dimension/blob/main/Project%20New%20Dimension/Library/PackageCache/com.unity.timeline%401.4.8/Runtime/TimelineAsset.cs"
click node_track "https://github.com/dariuskusnierz/project-new-dimension/blob/main/Project%20New%20Dimension/Library/PackageCache/com.unity.timeline%401.4.8/Runtime/TrackAsset.cs"
click node_clip "https://github.com/dariuskusnierz/project-new-dimension/blob/main/Project%20New%20Dimension/Library/PackageCache/com.unity.timeline%401.4.8/Runtime/TimelineClip.cs"
click node_stateprovider "https://github.com/dariuskusnierz/project-new-dimension/blob/main/Project%20New%20Dimension/Library/PackageCache/com.unity.services.core%401.0.1/Editor/Core/ProjectStateManagement/ProjectState.cs"
click node_rolehandler "https://github.com/dariuskusnierz/project-new-dimension/blob/main/Project%20New%20Dimension/Library/PackageCache/com.unity.services.core%401.0.1/Editor/Core/UserRoleManagement/UserRoleHandler.cs"
click node_settings "https://github.com/dariuskusnierz/project-new-dimension/blob/main/Project%20New%20Dimension/Library/PackageCache/com.unity.services.core%401.0.1/Editor/Core/EditorGameService/EditorGameServiceSettingsProvider.cs"

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_window,node_state,node_input,node_edit,node_move,node_snap,node_actions,node_timelineasset,node_track,node_clip,node_editor toneBlue
class node_stateprovider,node_rolehandler,node_settings toneAmber
```

## Components

### Timeline Editor

- [Timeline Window](https://github.com/dariuskusnierz/project-new-dimension/blob/main/Project%20New%20Dimension/Library/PackageCache/com.unity.timeline%401.4.8/Editor/Window/TimelineWindow.cs): `Project New Dimension/Library/PackageCache/com.unity.timeline@1.4.8/Editor/Window/TimelineWindow.cs`
- [Window State](https://github.com/dariuskusnierz/project-new-dimension/blob/main/Project%20New%20Dimension/Library/PackageCache/com.unity.timeline%401.4.8/Editor/State/WindowState.cs): `Project New Dimension/Library/PackageCache/com.unity.timeline@1.4.8/Editor/State/WindowState.cs`
- [Edit Input](https://github.com/dariuskusnierz/project-new-dimension/blob/main/Project%20New%20Dimension/Library/PackageCache/com.unity.timeline%401.4.8/Editor/Manipulators/EditModeInputHandler.cs): `Project New Dimension/Library/PackageCache/com.unity.timeline@1.4.8/Editor/Manipulators/EditModeInputHandler.cs`
- [Edit Modes](https://github.com/dariuskusnierz/project-new-dimension/blob/main/Project%20New%20Dimension/Library/PackageCache/com.unity.timeline%401.4.8/Editor/Manipulators/EditMode.cs): `Project New Dimension/Library/PackageCache/com.unity.timeline@1.4.8/Editor/Manipulators/EditMode.cs`
- [Move Items](https://github.com/dariuskusnierz/project-new-dimension/blob/main/Project%20New%20Dimension/Library/PackageCache/com.unity.timeline%401.4.8/Editor/Manipulators/Move/MoveItemHandler.cs): `Project New Dimension/Library/PackageCache/com.unity.timeline@1.4.8/Editor/Manipulators/Move/MoveItemHandler.cs`
- [Snap Engine](https://github.com/dariuskusnierz/project-new-dimension/blob/main/Project%20New%20Dimension/Library/PackageCache/com.unity.timeline%401.4.8/Editor/treeview/Snapping/SnapEngine.cs): `Project New Dimension/Library/PackageCache/com.unity.timeline@1.4.8/Editor/treeview/Snapping/SnapEngine.cs`
- [Action Manager](https://github.com/dariuskusnierz/project-new-dimension/blob/main/Project%20New%20Dimension/Library/PackageCache/com.unity.timeline%401.4.8/Editor/Actions/ActionManager.cs): `Project New Dimension/Library/PackageCache/com.unity.timeline@1.4.8/Editor/Actions/ActionManager.cs`
- [Timeline Asset](https://github.com/dariuskusnierz/project-new-dimension/blob/main/Project%20New%20Dimension/Library/PackageCache/com.unity.timeline%401.4.8/Runtime/TimelineAsset.cs): `Project New Dimension/Library/PackageCache/com.unity.timeline@1.4.8/Runtime/TimelineAsset.cs`
- [Track Asset](https://github.com/dariuskusnierz/project-new-dimension/blob/main/Project%20New%20Dimension/Library/PackageCache/com.unity.timeline%401.4.8/Runtime/TrackAsset.cs): `Project New Dimension/Library/PackageCache/com.unity.timeline@1.4.8/Runtime/TrackAsset.cs`
- [Timeline Clip](https://github.com/dariuskusnierz/project-new-dimension/blob/main/Project%20New%20Dimension/Library/PackageCache/com.unity.timeline%401.4.8/Runtime/TimelineClip.cs): `Project New Dimension/Library/PackageCache/com.unity.timeline@1.4.8/Runtime/TimelineClip.cs`

### Editor Services

- [Project State](https://github.com/dariuskusnierz/project-new-dimension/blob/main/Project%20New%20Dimension/Library/PackageCache/com.unity.services.core%401.0.1/Editor/Core/ProjectStateManagement/ProjectState.cs): `Project New Dimension/Library/PackageCache/com.unity.services.core@1.0.1/Editor/Core/ProjectStateManagement/ProjectState.cs`
- [User Role Handler](https://github.com/dariuskusnierz/project-new-dimension/blob/main/Project%20New%20Dimension/Library/PackageCache/com.unity.services.core%401.0.1/Editor/Core/UserRoleManagement/UserRoleHandler.cs): `Project New Dimension/Library/PackageCache/com.unity.services.core@1.0.1/Editor/Core/UserRoleManagement/UserRoleHandler.cs`
- [Service Settings UI](https://github.com/dariuskusnierz/project-new-dimension/blob/main/Project%20New%20Dimension/Library/PackageCache/com.unity.services.core%401.0.1/Editor/Core/EditorGameService/EditorGameServiceSettingsProvider.cs): `Project New Dimension/Library/PackageCache/com.unity.services.core@1.0.1/Editor/Core/EditorGameService/EditorGameServiceSettingsProvider.cs`

### Other components

- **Unity Editor User**

## Connections

- Unity Editor User → Timeline Window: edits timelines
- Timeline Window → Window State: creates state (evidence: `Project New Dimension/Library/PackageCache/com.unity.timeline@1.4.8/Editor/Window/TimelineWindow.cs`)
- Window State → Snap Engine: provides state (evidence: `Project New Dimension/Library/PackageCache/com.unity.timeline@1.4.8/Editor/treeview/Snapping/SnapEngine.cs`)
- Edit Input → Move Items: delegates moves (evidence: `Project New Dimension/Library/PackageCache/com.unity.timeline@1.4.8/Editor/Manipulators/EditModeInputHandler.cs`)
- Edit Input → Edit Modes: invokes edit modes (evidence: `Project New Dimension/Library/PackageCache/com.unity.timeline@1.4.8/Editor/Manipulators/EditModeInputHandler.cs`)
- Edit Modes → Move Items: starts moves (evidence: `Project New Dimension/Library/PackageCache/com.unity.timeline@1.4.8/Editor/Manipulators/EditMode.cs`)
- Move Items → Window State: updates state (evidence: `Project New Dimension/Library/PackageCache/com.unity.timeline@1.4.8/Editor/Manipulators/Move/MoveItemHandler.cs`)
- Snap Engine → Window State: reads state (evidence: `Project New Dimension/Library/PackageCache/com.unity.timeline@1.4.8/Editor/treeview/Snapping/SnapEngine.cs`)
- Action Manager → Track Asset: executes track actions (evidence: `Project New Dimension/Library/PackageCache/com.unity.timeline@1.4.8/Editor/Actions/ActionManager.cs`)
- Action Manager → Timeline Clip: discovers clip actions (evidence: `Project New Dimension/Library/PackageCache/com.unity.timeline@1.4.8/Editor/Actions/ActionManager.cs`)
- User Role Handler → Project State: reads project state (evidence: `Project New Dimension/Library/PackageCache/com.unity.services.core@1.0.1/Editor/Core/UserRoleManagement/UserRoleHandler.cs`)
- Service Settings UI → Project State: reads project state (evidence: `Project New Dimension/Library/PackageCache/com.unity.services.core@1.0.1/Editor/Core/EditorGameService/EditorGameServiceSettingsProvider.cs`)
