How wmrd01/unity-design-pattern works
Project type and purpose
• This is an educational Unity3D application that demonstrates 23 “Gang of Four” design patterns plus several game-programming patterns, all implemented in C#.
• It’s not a client/server or web-app system but rather a self-contained Unity project showcasing pattern structures and usage examples as Unity scenes.
File structure
• Top-level folders and files:
– Assets/ – all C# scripts, Unity scenes (.unity), prefabs, and pattern examples
– ProjectSettings/ – Unity editor and build configuration
– UnityPackageManager/manifest.json – external package dependencies
– Media/ – images (e.g., repo cover)
– .sln & .csproj – Visual Studio solution for script editing
• Under Assets/, four major pattern categories (Behavioral, Structural, Creational, Game Programming Patterns), each containing:
– Structure/ – minimal class definitions and a scene showing the pattern skeleton
– Example*/ – one or more real-world usage examples with C# code and a Unity scene
• Assets/Tools/ – small utilities or prefabs used across examples
README for additional insights
• Confirms each pattern folder has two concerns: structural skeleton + real example
• References Unity scenes as the primary demonstration vehicle
• Notes dependencies on Unity engine and standard C#/.NET libraries
Detail
• Unity scene files as connectors between scripts and the engine