unity-composition-pattern
CommunityModular Unity composition to replace inheritance.
AuthorMuharremTozan
Version1.0.0
Installs0
System Documentation
What problem does it solve?
Unity projects often accumulate deep class hierarchies that hinder maintainability; this skill promotes composition over inheritance using ScriptableObject configs and Tuple-based data returns to create flexible, data-driven objects.
Core Features & Use Cases
- Has-A logic through composable Configs rather than rigid base-class hierarchies.
- ScriptableObject templates bridge static data to runtime ModularEntity instances.
- Tuple deconstruction enables multi-part data returns with minimal boilerplate.
- Hierarchy flattening reduces code surface by moving variations to project assets.
Quick Start
Create a ModularEntity, attach primary and secondary EntityConfigSO assets, and call GetAllData to retrieve runtime data.
Dependency Matrix
Required Modules
None requiredComponents
assets
💻 Claude Code Installation
Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.
Please help me install this Skill: Name: unity-composition-pattern Download link: https://github.com/MuharremTozan/Ohm-Yura/archive/main.zip#unity-composition-pattern Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
Agent Skills Search Helper
Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.