· 4 min read
One ScriptableObject Per Theme: A Data-Driven Theme System in Unity
My Tic-Tac-Toe has six themes that repaint the board, UI, HUD, and audio from a single menu tap. Adding a seventh is one ScriptableObject and zero new code. Here is the architecture, and why I split a theme into five interfaces to get there.
Unity C# ScriptableObject Interface Segregation SOLID technical-art game-architecture
Read