How knotpil/gdp-teama works
1. This is a Unity 6.3 LTS project organized as a scene-driven interactive simulation/game. The architecture is split between reusable runtime scripts in Assets/Scripts, authored content in Assets/Prefabs, Assets/Materials, Assets/Animations, and multiple standalone scenes under Assets/Scenes.
2. The core gameplay loop appears to be a cat-cafe / bakery workflow: the player moves around the world, interacts with stations, prepares dough/baked goods, serves customers, and manages cats. The project is not a single monolith; it is built from several feature modules that can run independently in their own test scenes and are combined in larger scenes like Combination Scene.unity.
3. Player interaction is centralized in Assets/Scripts/PlayerScipts. FPSController, PlayerInteracter, Interactable, PlayerTrigger, and CurrencyManager define the player-facing boundary: movement, raycast/trigger interaction, and money state. Most gameplay stations likely implement Interactable-style contracts so the player can activate them consistently.
4. The baking / food-prep pipeline is a distinct subsystem. Assets/Scripts/WF Scritps contains DoughManager and IngredientDispenser, while Assets/Scripts/Oven Scripts and Assets/Scripts/Proof Box Scripts handle oven/proof-box interactions and attachment logic. Related prefabs and animation controllers exist for dough, oven, proof box, loaf, and light variants, showing that these stations are assembled from model + animation + behavior layers.
5. Customer and order flow is another major boundary. Assets/Scenes/CustomerAI/Scripts includes CustomerController, CustomerOrder, ManagerCustomer, LeaveWithOrder, ShopTrigger, and iStation, indicating a manager-driven AI loop where customers enter a shop area, request an order, interact with stations, and then leave. NavMesh assets in customer scenes confirm that this system relies on Unity navigation rather than custom pathfinding.
6. Order presentation and ticketing are separated from the AI logic. Assets/Scripts/Tickets contains TicketManager and TicketUI, while Assets/Scripts/OrderScreen contains OrderScreenButton and ShelfAttach. Assets/OrderButtonSO holds OrderButtonSO.cs plus ScriptableObject assets like CatFood.asset and CatToy.asset, so order definitions are data-driven rather than hardcoded.
7. Cats are treated as their own feature family. Assets/Scripts/Cat Scripts contains cat interaction/spawning/features, and Assets/Scripts/Stray Cats contains StrayCatController, StrayCatSpawner, StrayCatData, StrayCatInstance, CatCollectionManager, and UI/card scripts. This suggests two related flows: active in-world cat behavior and a collection/inspection UI for discovered stray cats.
8. There is a separate day/night and progression subsystem. Assets/Scripts/Day Night Cycle includes TimeManager, TimeUI, DayNightLightingController, DayPhaseGate, and BedInteractable, which implies time advances the simulation, changes lighting, and gates certain actions by phase. This is a global systems layer rather than a per-scene feature.
9. Events are modeled as another content-driven system. Assets/Scripts/Events has CalendarEventManager, EventDefinition, EventAnchor, EventSpawnedObject, and IEventSpawnReceiver, plus sample event assets. The use of definitions, anchors, and receiver interfaces indicates events are authored as reusable spawn/configuration data and injected into scenes at designated points.
10. Visual customization is handled through dedicated shader and shader-graph tooling. Assets/ItemSelectionShader and Assets/Scripts/Shader Scripts contain selection/highlight shaders, cat shaders, shader controllers, and a rotation script. This is a presentation boundary: game logic triggers visual state changes, but the actual effect is implemented in shaders/materials.
11. Menu and non-gameplay UI are isolated from the simulation. Assets/Scripts/Menu contains MenuManager, ButtonManager, and MenuImageChanger, and there are dedicated menu scenes for Main Menu, Controls, and Credits. Other UI is built with TextMesh Pro assets and prefabs, so screen flow is mostly scene-based with local UI controllers.
12. The repository is asset-heavy and mostly authored content: imported FBX/Blend models, animation clips/controllers for oven/proofbox, URP materials, prefabs for stations/cats/player/currency-like objects, and several environment blockouts. The logic sits in a relatively small set of scripts while the scenes/prefabs define the actual assembled experience.
13. Rendering and platform setup are important infrastructure details. The project uses URP (Assets/Settings/*RPAsset.asset, renderer assets, global settings), plus MobileDependencyResolver and separate PC/mobile render settings, suggesting multi-platform targeting. ProjectSettings/Packages/com.unity.dedicated-server and many NavMesh assets also show the project is configured for advanced Unity workflows, though the main runtime still appears single-player and scene-local.
14. Overall, the diagram should show a central player/controller layer feeding multiple feature modules: food prep stations, customer AI/orders, cat systems, time/events, and UI. Scene files act as composition containers, while ScriptableObjects, prefabs, materials, and animations provide the data and presentation for each subsystem.
Main entry points: Scripts Customer AI · PlayerInteracter.cs Player Interacter · PlayerScipts Player · Tickets Tickets
Components 33
Core Runtime
Player-facing systems and shared gameplay logic.
- Player · Movement, interaction, currency, and trigger handling for the player avatar.
Assets/Scripts/PlayerScipts - FPS Controller · First-person locomotion and camera-facing player control.
Assets/Scripts/PlayerScipts/FPSController.cs - Interactable · Shared interaction surface used by stations and world objects.
Assets/Scripts/PlayerScipts/Interactable.cs - Player Interacter · Routes player input to nearby interactables.
Assets/Scripts/PlayerScipts/PlayerInteracter.cs - Currency · Tracks money state used by commerce and rewards.
Assets/Scripts/PlayerScipts/CurrencyManager.cs
Food Prep
Dough, oven, and proof-box workflow.
- Dough Pipeline · Ingredient handling and dough state progression.
Assets/Scripts/WF Scritps - Ingredient Dispenser · Feeds flour, water, or other ingredients into the prep flow.
Assets/Scripts/WF Scritps/IngredientDispenser.cs - Dough Manager · Tracks dough composition and readiness.
Assets/Scripts/WF Scritps/DoughManager.cs - Oven System · Oven interaction and attachment logic for baking.
Assets/Scripts/Oven Scripts - Oven Interact · Controls opening, closing, and user-facing oven actions.
Assets/Scripts/Oven Scripts/Oven Interact.cs - Proof Box · Proof-box interaction and attachment logic for rising dough.
Assets/Scripts/Proof Box Scripts
Customer Flow
Customer entry, orders, and navigation-driven shop logic.
- Customer AI · Customer entry, order state, station visits, and departure flow.
Assets/Scenes/CustomerAI/Scripts - Customer Manager · Coordinates customer lifecycle in the shop scene.
Assets/Scenes/CustomerAI/Scripts/ManagerCustomer.cs - Customer Order · Represents what a customer wants and how it is fulfilled.
Assets/Scenes/CustomerAI/Scripts/CustomerOrder.cs - Customer Controller · NavMesh-based movement and interaction behavior for customers.
Assets/Scenes/CustomerAI/Scripts/CustomerController.cs
Cat Systems
Active cat behavior plus stray-cat collection UI.
- Cat Gameplay · Active cat interaction and spawning in the world.
Assets/Scripts/Cat Scripts - Stray Cats · Spawner, instance, and collection UI for discovered stray cats.
Assets/Scripts/Stray Cats - Collection Manager · Tracks collected stray cats and their display state.
Assets/Scripts/Stray Cats/CatCollectionManager.cs
World Systems
Time, events, and seasonings that affect the simulation.
UI & Menus
Ticketing, order screen, and menu flow.
- Tickets · Ticket generation and in-world/UI presentation for orders.
Assets/Scripts/Tickets - Order Screen · Buttons and shelf attachment for order selection and display.
Assets/Scripts/OrderScreen - Menus · Main menu and auxiliary menu flow controllers.
Assets/Scripts/Menu
Authored Content
Scenes, prefabs, animations, materials, and data assets.
- Scenes · Standalone scenes that assemble and test the runtime modules.
Assets/Scenes - Prefabs · Reusable scene objects for player, stations, cats, tickets, and decor.
Assets/Prefabs - Animations · Animation clips and controllers for oven and proof-box assemblies.
Assets/Animations - Materials · Core and authored materials for props, food, cats, and surfaces.
Assets/Materials - Order Data · Data-driven order definitions such as cat food and cat toy.
Assets/OrderButtonSO - Shader Tools · Selection highlighting and cat shader presentation layer.
Assets/Scripts/Shader Scripts
Project Infra
Render pipeline, input, and platform configuration.
- Render Setup · URP assets, renderer assets, and platform-specific rendering config.
Assets/Settings - Input Setup · Input actions and project input configuration.
Assets/Input.inputactions - Platform Support · Mobile dependency resolver and dedicated-server project support.
Assets/MobileDependencyResolver
Connections 32
- Player → FPS Controller: controls · Player movement is implemented by the FPS controller.
- Player → Player Interacter: uses · Player input is routed through the interacter.
- Player Interacter → Interactable: invokes · Interaction targets implement the shared contract.
- Player → Currency: owns · Currency state is part of the player-facing gameplay layer.
- Player Interacter → Oven Interact: activates · The player can operate the oven through standard interaction.
- Player Interacter → Proof Box: activates · The player can operate the proof box through standard interaction.
- Dough Pipeline → Ingredient Dispenser: feeds · Dispenser adds ingredients into dough progression.
- Dough Pipeline → Dough Manager: tracks · Dough manager stores and updates dough state.
- Oven System → Oven Interact: exposes · Oven behavior is surfaced through the oven interaction script.
- Proof Box → Interactable: follows · Proof-box interactions fit the common interactable pattern.
- Customer AI → Customer Manager: orchestrates · Manager drives the overall customer loop.
- Customer AI → Customer Controller: moves · Customer controller handles NavMesh-driven behavior.
- Customer AI → Customer Order: creates · Orders are instantiated and tracked per customer.
- Customer AI → Tickets: consumes · Customer requests flow into ticket/order presentation.
- Customer AI → Interactable: interacts via · Customers and shop stations meet through the interaction boundary.
- Cat Gameplay → Stray Cats: feeds · World cat behavior informs stray-cat collection features.
- Stray Cats → Collection Manager: managed by · Collection UI and data are centralized by the manager.
- Day/Night → Tickets: updates · Time UI is one consumer of the global cycle.
- Day/Night → Events: drives · Event timing is coordinated by the day/night system.
- Day/Night → Seasoning: gates · Global phase can constrain when station actions occur.
- Events → Scenes: spawns into · Events are authored for insertion into scenes via anchors.
- Seasoning → Dough Pipeline: affects · Seasonings influence food-prep state.
- Tickets → Order Screen: coordinates · Ticket presentation and order selection are adjacent UI flows.
- Menus → Scenes: switches · Menu controllers move between dedicated menu scenes.
- Scenes → Prefabs: assembles · Scenes compose gameplay from reusable prefab content.
- Prefabs → Animations: uses · Station and prop prefabs rely on authored animation clips/controllers.
- Prefabs → Materials: uses · Prefabs are skinned with authored materials.
- Order Data → Tickets: drives · Order data is presented through ticket and order UI.
- Shader Tools → Materials: binds · Selection and cat visuals are implemented through shader/material assets.
- Render Setup → Shader Tools: supports · URP configuration enables the visual shader layer.
- Input Setup → Player: powers · Input actions back player movement and interaction.
- Platform Support → Render Setup: configures · Platform support coexists with render configuration.