# yanderesimsc/yanderesimulatorsource architecture

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

- Interactive diagram: https://gitdiagram.com/yanderesimsc/yanderesimulatorsource
- Repository: https://github.com/yanderesimsc/yanderesimulatorsource

## Overview

This repository is a decompiled Unity game assembly for Yandere Simulator, rather than a standalone library. The broad player-facing experience is school-life simulation: the game initializes and manages students and clubs, advances time and events, and supports activities such as combat and a maid-café minigame; it also includes a messaging scene and navigation/rendering infrastructure. The excerpts establish only selected interactions, so the graph leaves many gameplay links out rather than inferring them from names. The README identifies the source as a March 2020 debug-build decompilation.

Main entry points: [`Assembly-CSharp/MaidDereMinigame/GameController.cs`](https://github.com/yanderesimsc/yanderesimulatorsource/blob/master/Assembly-CSharp/MaidDereMinigame/GameController.cs) (Maid Game), [`Assembly-CSharp/ClubManagerScript.cs`](https://github.com/yanderesimsc/yanderesimulatorsource/blob/master/Assembly-CSharp/ClubManagerScript.cs) (Club Manager), [`Assembly-CSharp/StudentManagerScript.cs`](https://github.com/yanderesimsc/yanderesimulatorsource/blob/master/Assembly-CSharp/StudentManagerScript.cs) (Student Manager), [`Assembly-CSharp/AstarPath.cs`](https://github.com/yanderesimsc/yanderesimulatorsource/blob/master/Assembly-CSharp/AstarPath.cs) (A* Navigation)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_school["School Simulation"]
  node_student_mgr["Student Manager"]
  node_club_mgr["Club Manager"]
  node_clubs["Club Model<br/>[Club.cs]"]
  node_club_types["Club Types<br/>[ClubType.cs]"]
  node_clock["Game Clock<br/>[Clock.cs]"]
end

subgraph group_activities["Activities"]
  node_maid_game["Maid Game<br/>[GameController.cs]"]
  node_customer_ai["Customer AI<br/>[AIController.cs]"]
  node_maid_sfx["Maid Audio<br/>[SFXController.cs]"]
  node_combat["Combat Manager"]
  node_messaging["Yancord Scene<br/>[YancordManager.cs]"]
end

subgraph group_engine["Game Systems"]
  node_pathfinding["A* Navigation<br/>[AstarPath.cs]"]
  node_avoidance["Agent Avoidance<br/>[RVOController.cs]"]
  node_blocked_nodes["Node Blocking<br/>[BlockManager.cs]"]
  node_tile_updates["Tile Updates<br/>[TileHandler.cs]"]
end

subgraph group_addons["Presentation Add-ons"]
  node_motion["Motion Effects<br/>[SkinnedState.cs]"]
  node_inventory_ui["Item Storage UI<br/>[UIItemStorage.cs]"]
end

node_player(("Player"))

node_player -.->|"plays school"| node_student_mgr
node_student_mgr -->|"checks clubs"| node_club_types
node_club_mgr -->|"uses clubs"| node_clubs
node_club_mgr -->|"reads club types"| node_club_types
node_club_mgr -->|"reads time"| node_clock
node_student_mgr -->|"reads time"| node_clock
node_player -.->|"starts activity"| node_maid_game
node_customer_ai -->|"updates tips"| node_maid_game
node_maid_game -->|"credits payout"| node_player
node_player -.->|"engages combat"| node_combat
node_player -.->|"enters conversation"| node_messaging
node_messaging -->|"loads home scene"| node_player
node_pathfinding -->|"queues work"| node_blocked_nodes
node_pathfinding -->|"queues work"| node_tile_updates
node_avoidance -.->|"uses navigation"| node_pathfinding
node_maid_game -.->|"plays sounds"| node_maid_sfx

click node_student_mgr "https://github.com/yanderesimsc/yanderesimulatorsource/blob/master/Assembly-CSharp/StudentManagerScript.cs"
click node_club_mgr "https://github.com/yanderesimsc/yanderesimulatorsource/blob/master/Assembly-CSharp/ClubManagerScript.cs"
click node_clubs "https://github.com/yanderesimsc/yanderesimulatorsource/blob/master/Assembly-CSharp/Club.cs"
click node_club_types "https://github.com/yanderesimsc/yanderesimulatorsource/blob/master/Assembly-CSharp/ClubType.cs"
click node_clock "https://github.com/yanderesimsc/yanderesimulatorsource/blob/master/Assembly-CSharp/Clock.cs"
click node_maid_game "https://github.com/yanderesimsc/yanderesimulatorsource/blob/master/Assembly-CSharp/MaidDereMinigame/GameController.cs"
click node_customer_ai "https://github.com/yanderesimsc/yanderesimulatorsource/blob/master/Assembly-CSharp/MaidDereMinigame/AIController.cs"
click node_maid_sfx "https://github.com/yanderesimsc/yanderesimulatorsource/blob/master/Assembly-CSharp/MaidDereMinigame/SFXController.cs"
click node_combat "https://github.com/yanderesimsc/yanderesimulatorsource/blob/master/Assembly-CSharp/AttackManagerScript.cs"
click node_messaging "https://github.com/yanderesimsc/yanderesimulatorsource/blob/master/Assembly-CSharp/YandereSimulator/Yancord/YancordManager.cs"
click node_pathfinding "https://github.com/yanderesimsc/yanderesimulatorsource/blob/master/Assembly-CSharp/AstarPath.cs"
click node_avoidance "https://github.com/yanderesimsc/yanderesimulatorsource/blob/master/Assembly-CSharp/Pathfinding/RVO/RVOController.cs"
click node_blocked_nodes "https://github.com/yanderesimsc/yanderesimulatorsource/blob/master/Assembly-CSharp/Pathfinding/BlockManager.cs"
click node_tile_updates "https://github.com/yanderesimsc/yanderesimulatorsource/blob/master/Assembly-CSharp/Pathfinding/Util/TileHandler.cs"
click node_motion "https://github.com/yanderesimsc/yanderesimulatorsource/blob/master/Assembly-CSharp/AmplifyMotion/SkinnedState.cs"
click node_inventory_ui "https://github.com/yanderesimsc/yanderesimulatorsource/blob/master/Assembly-CSharp/UIItemStorage.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_student_mgr,node_club_mgr,node_clubs,node_club_types,node_clock toneBlue
class node_maid_game,node_customer_ai,node_maid_sfx,node_combat,node_messaging toneAmber
class node_pathfinding,node_avoidance,node_blocked_nodes,node_tile_updates toneMint
class node_motion,node_inventory_ui toneRose
class node_player toneIndigo
```

## Components

### School Simulation

- [Student Manager](https://github.com/yanderesimsc/yanderesimulatorsource/blob/master/Assembly-CSharp/StudentManagerScript.cs): `Assembly-CSharp/StudentManagerScript.cs`
- [Club Manager](https://github.com/yanderesimsc/yanderesimulatorsource/blob/master/Assembly-CSharp/ClubManagerScript.cs): `Assembly-CSharp/ClubManagerScript.cs`
- [Club Model](https://github.com/yanderesimsc/yanderesimulatorsource/blob/master/Assembly-CSharp/Club.cs): `Assembly-CSharp/Club.cs`
- [Club Types](https://github.com/yanderesimsc/yanderesimulatorsource/blob/master/Assembly-CSharp/ClubType.cs): `Assembly-CSharp/ClubType.cs`
- [Game Clock](https://github.com/yanderesimsc/yanderesimulatorsource/blob/master/Assembly-CSharp/Clock.cs): `Assembly-CSharp/Clock.cs`

### Activities

- [Maid Game](https://github.com/yanderesimsc/yanderesimulatorsource/blob/master/Assembly-CSharp/MaidDereMinigame/GameController.cs): `Assembly-CSharp/MaidDereMinigame/GameController.cs`
- [Customer AI](https://github.com/yanderesimsc/yanderesimulatorsource/blob/master/Assembly-CSharp/MaidDereMinigame/AIController.cs): `Assembly-CSharp/MaidDereMinigame/AIController.cs`
- [Maid Audio](https://github.com/yanderesimsc/yanderesimulatorsource/blob/master/Assembly-CSharp/MaidDereMinigame/SFXController.cs): `Assembly-CSharp/MaidDereMinigame/SFXController.cs`
- [Combat Manager](https://github.com/yanderesimsc/yanderesimulatorsource/blob/master/Assembly-CSharp/AttackManagerScript.cs): `Assembly-CSharp/AttackManagerScript.cs`
- [Yancord Scene](https://github.com/yanderesimsc/yanderesimulatorsource/blob/master/Assembly-CSharp/YandereSimulator/Yancord/YancordManager.cs): `Assembly-CSharp/YandereSimulator/Yancord/YancordManager.cs`

### Game Systems

- [A* Navigation](https://github.com/yanderesimsc/yanderesimulatorsource/blob/master/Assembly-CSharp/AstarPath.cs): `Assembly-CSharp/AstarPath.cs`
- [Agent Avoidance](https://github.com/yanderesimsc/yanderesimulatorsource/blob/master/Assembly-CSharp/Pathfinding/RVO/RVOController.cs): `Assembly-CSharp/Pathfinding/RVO/RVOController.cs`
- [Node Blocking](https://github.com/yanderesimsc/yanderesimulatorsource/blob/master/Assembly-CSharp/Pathfinding/BlockManager.cs): `Assembly-CSharp/Pathfinding/BlockManager.cs`
- [Tile Updates](https://github.com/yanderesimsc/yanderesimulatorsource/blob/master/Assembly-CSharp/Pathfinding/Util/TileHandler.cs): `Assembly-CSharp/Pathfinding/Util/TileHandler.cs`

### Presentation Add-ons

- [Motion Effects](https://github.com/yanderesimsc/yanderesimulatorsource/blob/master/Assembly-CSharp/AmplifyMotion/SkinnedState.cs): `Assembly-CSharp/AmplifyMotion/SkinnedState.cs`
- [Item Storage UI](https://github.com/yanderesimsc/yanderesimulatorsource/blob/master/Assembly-CSharp/UIItemStorage.cs): `Assembly-CSharp/UIItemStorage.cs`

### Other components

- **Player**

## Connections

- Player → Student Manager: plays school
- Student Manager → Club Types: checks clubs (evidence: `Assembly-CSharp/StudentManagerScript.cs`)
- Club Manager → Club Model: uses clubs (evidence: `Assembly-CSharp/ClubManagerScript.cs`)
- Club Manager → Club Types: reads club types (evidence: `Assembly-CSharp/ClubManagerScript.cs`)
- Club Manager → Game Clock: reads time (evidence: `Assembly-CSharp/ClubManagerScript.cs`)
- Student Manager → Game Clock: reads time (evidence: `Assembly-CSharp/StudentManagerScript.cs`)
- Player → Maid Game: starts activity
- Customer AI → Maid Game: updates tips (evidence: `Assembly-CSharp/MaidDereMinigame/AIController.cs`)
- Maid Game → Player: credits payout (evidence: `Assembly-CSharp/MaidDereMinigame/GameController.cs`)
- Player → Combat Manager: engages combat
- Player → Yancord Scene: enters conversation
- Yancord Scene → Player: loads home scene (evidence: `Assembly-CSharp/YandereSimulator/Yancord/YancordManager.cs`)
- A* Navigation → Node Blocking: queues work (evidence: `Assembly-CSharp/Pathfinding/BlockManager.cs`)
- A* Navigation → Tile Updates: queues work (evidence: `Assembly-CSharp/Pathfinding/Util/TileHandler.cs`)
- Agent Avoidance → A* Navigation: uses navigation
- Maid Game → Maid Audio: plays sounds
