# puneetkohli/step-inside-2d-floorplan-to-3d-walkthrough architecture

> Architecture diagram of the GitHub repository puneetkohli/step-inside-2d-floorplan-to-3d-walkthrough, generated by GitDiagram from its file tree, README and a sample of source files (last updated 2026-12-04). It is an AI-made overview: check details against the source.

- Interactive diagram: https://gitdiagram.com/puneetkohli/step-inside-2d-floorplan-to-3d-walkthrough
- Repository: https://github.com/puneetkohli/step-inside-2d-floorplan-to-3d-walkthrough
- Video tour (about a minute): https://gitdiagram.com/puneetkohli/step-inside-2d-floorplan-to-3d-walkthrough/video

## Overview

This is a Unity project containing NGUI example scenes and an inventory-system sample, rather than a documented standalone service. The clearest user workflow suggested by the tree is interacting with inventory storage and equipment slots to equip items; the sample also includes item definitions, attachment points, and cursor handling. NGUI scenes demonstrate broader UI capabilities such as widgets, scrolling, localization, chat, tabs, and drag-and-drop. No source excerpts or substantive README description were provided, so relationships below are tentative and marked dashed with no evidence path.

Main entry points: [`Assets/NGUI/Examples/Scripts/InventorySystem/Game/UIItemSlot.cs`](https://github.com/puneetkohli/step-inside-2d-floorplan-to-3d-walkthrough/blob/master/Assets/NGUI/Examples/Scripts/InventorySystem/Game/UIItemSlot.cs) (Item slot), [`Assets/NGUI/Examples/Scripts/InventorySystem/Game/UIEquipmentSlot.cs`](https://github.com/puneetkohli/step-inside-2d-floorplan-to-3d-walkthrough/blob/master/Assets/NGUI/Examples/Scripts/InventorySystem/Game/UIEquipmentSlot.cs) (Equipment slot), [`Assets/NGUI/Examples/Scripts/InventorySystem/Game/UIItemStorage.cs`](https://github.com/puneetkohli/step-inside-2d-floorplan-to-3d-walkthrough/blob/master/Assets/NGUI/Examples/Scripts/InventorySystem/Game/UIItemStorage.cs) (Item storage), [`Assets/NGUI/Examples/Scripts/InventorySystem/Game/EquipItems.cs`](https://github.com/puneetkohli/step-inside-2d-floorplan-to-3d-walkthrough/blob/master/Assets/NGUI/Examples/Scripts/InventorySystem/Game/EquipItems.cs) (Equip items)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_inventory["Inventory sample"]
  node_storage["Item storage<br/>[UIItemStorage.cs]"]
  node_storage_slot["Storage slot<br/>[UIStorageSlot.cs]"]
  node_item_slot["Item slot<br/>[UIItemSlot.cs]"]
  node_equipment_slot["Equipment slot<br/>[UIEquipmentSlot.cs]"]
  node_equipment["Equip items<br/>[EquipItems.cs]"]
  node_random_equip["Random equip<br/>[EquipRandomItem.cs]"]
  node_cursor["UI cursor<br/>[UICursor.cs]"]
  node_base_item["Base item<br/>[InvBaseItem.cs]"]
  node_attachment["Attachment point"]
end

subgraph group_ui["UI examples"]
  node_widget_demos["Widget demos"]
  node_interaction_demos["Interaction demos"]
  node_scroll_demos["Scroll demos"]
  node_localization_demo["Localization demo"]
  node_chat_demo["Chat demo"]
  node_tabs_demo["Tabs demo"]
  node_drag_demo["Drag-drop demo"]
end

subgraph group_assets["Unity assets"]
  node_table_models["Table models"]
  node_bed_models["Bed models"]
  node_flythrough["Fly-through script<br/>[FlyThrough.cs]"]
end

node_player(("Player"))

node_player -.->|"uses"| node_storage
node_storage -.->|"displays"| node_storage_slot
node_player -.->|"interacts"| node_item_slot
node_item_slot -.->|"equips into"| node_equipment_slot
node_equipment -.->|"manages"| node_equipment_slot
node_random_equip -.->|"selects items"| node_equipment
node_cursor -.->|"supports interaction"| node_storage_slot
node_base_item -.->|"represents item"| node_item_slot
node_attachment -.->|"marks attachment"| node_equipment_slot
node_player -.->|"views"| node_widget_demos
node_player -.->|"interacts with"| node_interaction_demos
node_player -.->|"scrolls"| node_scroll_demos
node_player -.->|"views"| node_localization_demo
node_player -.->|"uses"| node_chat_demo
node_player -.->|"switches tabs"| node_tabs_demo
node_player -.->|"drags items"| node_drag_demo

click node_storage "https://github.com/puneetkohli/step-inside-2d-floorplan-to-3d-walkthrough/blob/master/Assets/NGUI/Examples/Scripts/InventorySystem/Game/UIItemStorage.cs"
click node_storage_slot "https://github.com/puneetkohli/step-inside-2d-floorplan-to-3d-walkthrough/blob/master/Assets/NGUI/Examples/Scripts/InventorySystem/Game/UIStorageSlot.cs"
click node_item_slot "https://github.com/puneetkohli/step-inside-2d-floorplan-to-3d-walkthrough/blob/master/Assets/NGUI/Examples/Scripts/InventorySystem/Game/UIItemSlot.cs"
click node_equipment_slot "https://github.com/puneetkohli/step-inside-2d-floorplan-to-3d-walkthrough/blob/master/Assets/NGUI/Examples/Scripts/InventorySystem/Game/UIEquipmentSlot.cs"
click node_equipment "https://github.com/puneetkohli/step-inside-2d-floorplan-to-3d-walkthrough/blob/master/Assets/NGUI/Examples/Scripts/InventorySystem/Game/EquipItems.cs"
click node_random_equip "https://github.com/puneetkohli/step-inside-2d-floorplan-to-3d-walkthrough/blob/master/Assets/NGUI/Examples/Scripts/InventorySystem/Game/EquipRandomItem.cs"
click node_cursor "https://github.com/puneetkohli/step-inside-2d-floorplan-to-3d-walkthrough/blob/master/Assets/NGUI/Examples/Scripts/InventorySystem/Game/UICursor.cs"
click node_base_item "https://github.com/puneetkohli/step-inside-2d-floorplan-to-3d-walkthrough/blob/master/Assets/NGUI/Examples/Scripts/InventorySystem/System/InvBaseItem.cs"
click node_attachment "https://github.com/puneetkohli/step-inside-2d-floorplan-to-3d-walkthrough/blob/master/Assets/NGUI/Examples/Scripts/InventorySystem/System/InvAttachmentPoint.cs"
click node_widget_demos "https://github.com/puneetkohli/step-inside-2d-floorplan-to-3d-walkthrough/blob/master/Assets/NGUI/Examples/Scenes/Example%200%20-%20Control%20Widgets.unity"
click node_interaction_demos "https://github.com/puneetkohli/step-inside-2d-floorplan-to-3d-walkthrough/blob/master/Assets/NGUI/Examples/Scenes/Example%202%20-%20Interaction.unity"
click node_scroll_demos "https://github.com/puneetkohli/step-inside-2d-floorplan-to-3d-walkthrough/blob/master/Assets/NGUI/Examples/Scenes/Example%207%20-%20Scroll%20View%20(Panel).unity"
click node_localization_demo "https://github.com/puneetkohli/step-inside-2d-floorplan-to-3d-walkthrough/blob/master/Assets/NGUI/Examples/Scenes/Example%2010%20-%20Localization.unity"
click node_chat_demo "https://github.com/puneetkohli/step-inside-2d-floorplan-to-3d-walkthrough/blob/master/Assets/NGUI/Examples/Scenes/Example%2012%20-%20Chat%20Window.unity"
click node_tabs_demo "https://github.com/puneetkohli/step-inside-2d-floorplan-to-3d-walkthrough/blob/master/Assets/NGUI/Examples/Scenes/Example%2013%20-%20Tabs.unity"
click node_drag_demo "https://github.com/puneetkohli/step-inside-2d-floorplan-to-3d-walkthrough/blob/master/Assets/NGUI/Examples/Scenes/Example%2011%20-%20Drag%20%26%20Drop.unity"
click node_table_models "https://github.com/puneetkohli/step-inside-2d-floorplan-to-3d-walkthrough/tree/master/Assets/Models/table"
click node_bed_models "https://github.com/puneetkohli/step-inside-2d-floorplan-to-3d-walkthrough/tree/master/Assets/Models/bed"
click node_flythrough "https://github.com/puneetkohli/step-inside-2d-floorplan-to-3d-walkthrough/blob/master/Assets/FlyThrough.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_storage,node_storage_slot,node_item_slot,node_equipment_slot,node_equipment,node_random_equip,node_cursor,node_base_item,node_attachment toneBlue
class node_widget_demos,node_interaction_demos,node_scroll_demos,node_localization_demo,node_chat_demo,node_tabs_demo,node_drag_demo toneAmber
class node_table_models,node_bed_models,node_flythrough toneMint
class node_player toneIndigo
```

## Components

### Inventory sample

- [Item storage](https://github.com/puneetkohli/step-inside-2d-floorplan-to-3d-walkthrough/blob/master/Assets/NGUI/Examples/Scripts/InventorySystem/Game/UIItemStorage.cs): `Assets/NGUI/Examples/Scripts/InventorySystem/Game/UIItemStorage.cs`
- [Storage slot](https://github.com/puneetkohli/step-inside-2d-floorplan-to-3d-walkthrough/blob/master/Assets/NGUI/Examples/Scripts/InventorySystem/Game/UIStorageSlot.cs): `Assets/NGUI/Examples/Scripts/InventorySystem/Game/UIStorageSlot.cs`
- [Item slot](https://github.com/puneetkohli/step-inside-2d-floorplan-to-3d-walkthrough/blob/master/Assets/NGUI/Examples/Scripts/InventorySystem/Game/UIItemSlot.cs): `Assets/NGUI/Examples/Scripts/InventorySystem/Game/UIItemSlot.cs`
- [Equipment slot](https://github.com/puneetkohli/step-inside-2d-floorplan-to-3d-walkthrough/blob/master/Assets/NGUI/Examples/Scripts/InventorySystem/Game/UIEquipmentSlot.cs): `Assets/NGUI/Examples/Scripts/InventorySystem/Game/UIEquipmentSlot.cs`
- [Equip items](https://github.com/puneetkohli/step-inside-2d-floorplan-to-3d-walkthrough/blob/master/Assets/NGUI/Examples/Scripts/InventorySystem/Game/EquipItems.cs): `Assets/NGUI/Examples/Scripts/InventorySystem/Game/EquipItems.cs`
- [Random equip](https://github.com/puneetkohli/step-inside-2d-floorplan-to-3d-walkthrough/blob/master/Assets/NGUI/Examples/Scripts/InventorySystem/Game/EquipRandomItem.cs): `Assets/NGUI/Examples/Scripts/InventorySystem/Game/EquipRandomItem.cs`
- [UI cursor](https://github.com/puneetkohli/step-inside-2d-floorplan-to-3d-walkthrough/blob/master/Assets/NGUI/Examples/Scripts/InventorySystem/Game/UICursor.cs): `Assets/NGUI/Examples/Scripts/InventorySystem/Game/UICursor.cs`
- [Base item](https://github.com/puneetkohli/step-inside-2d-floorplan-to-3d-walkthrough/blob/master/Assets/NGUI/Examples/Scripts/InventorySystem/System/InvBaseItem.cs): `Assets/NGUI/Examples/Scripts/InventorySystem/System/InvBaseItem.cs`
- [Attachment point](https://github.com/puneetkohli/step-inside-2d-floorplan-to-3d-walkthrough/blob/master/Assets/NGUI/Examples/Scripts/InventorySystem/System/InvAttachmentPoint.cs): `Assets/NGUI/Examples/Scripts/InventorySystem/System/InvAttachmentPoint.cs`

### UI examples

- [Widget demos](https://github.com/puneetkohli/step-inside-2d-floorplan-to-3d-walkthrough/blob/master/Assets/NGUI/Examples/Scenes/Example%200%20-%20Control%20Widgets.unity): `Assets/NGUI/Examples/Scenes/Example 0 - Control Widgets.unity`
- [Interaction demos](https://github.com/puneetkohli/step-inside-2d-floorplan-to-3d-walkthrough/blob/master/Assets/NGUI/Examples/Scenes/Example%202%20-%20Interaction.unity): `Assets/NGUI/Examples/Scenes/Example 2 - Interaction.unity`
- [Scroll demos](https://github.com/puneetkohli/step-inside-2d-floorplan-to-3d-walkthrough/blob/master/Assets/NGUI/Examples/Scenes/Example%207%20-%20Scroll%20View%20(Panel).unity): `Assets/NGUI/Examples/Scenes/Example 7 - Scroll View (Panel).unity`
- [Localization demo](https://github.com/puneetkohli/step-inside-2d-floorplan-to-3d-walkthrough/blob/master/Assets/NGUI/Examples/Scenes/Example%2010%20-%20Localization.unity): `Assets/NGUI/Examples/Scenes/Example 10 - Localization.unity`
- [Chat demo](https://github.com/puneetkohli/step-inside-2d-floorplan-to-3d-walkthrough/blob/master/Assets/NGUI/Examples/Scenes/Example%2012%20-%20Chat%20Window.unity): `Assets/NGUI/Examples/Scenes/Example 12 - Chat Window.unity`
- [Tabs demo](https://github.com/puneetkohli/step-inside-2d-floorplan-to-3d-walkthrough/blob/master/Assets/NGUI/Examples/Scenes/Example%2013%20-%20Tabs.unity): `Assets/NGUI/Examples/Scenes/Example 13 - Tabs.unity`
- [Drag-drop demo](https://github.com/puneetkohli/step-inside-2d-floorplan-to-3d-walkthrough/blob/master/Assets/NGUI/Examples/Scenes/Example%2011%20-%20Drag%20%26%20Drop.unity): `Assets/NGUI/Examples/Scenes/Example 11 - Drag & Drop.unity`

### Unity assets

- [Table models](https://github.com/puneetkohli/step-inside-2d-floorplan-to-3d-walkthrough/tree/master/Assets/Models/table): `Assets/Models/table`
- [Bed models](https://github.com/puneetkohli/step-inside-2d-floorplan-to-3d-walkthrough/tree/master/Assets/Models/bed): `Assets/Models/bed`
- [Fly-through script](https://github.com/puneetkohli/step-inside-2d-floorplan-to-3d-walkthrough/blob/master/Assets/FlyThrough.cs): `Assets/FlyThrough.cs`

### Other components

- **Player**

## Connections

- Player → Item storage: uses
- Item storage → Storage slot: displays
- Player → Item slot: interacts
- Item slot → Equipment slot: equips into
- Equip items → Equipment slot: manages
- Random equip → Equip items: selects items
- UI cursor → Storage slot: supports interaction
- Base item → Item slot: represents item
- Attachment point → Equipment slot: marks attachment
- Player → Widget demos: views
- Player → Interaction demos: interacts with
- Player → Scroll demos: scrolls
- Player → Localization demo: views
- Player → Chat demo: uses
- Player → Tabs demo: switches tabs
- Player → Drag-drop demo: drags items
