What problem does it solve?
Helps developers identify and fix design problems in Unity gameplay scripts so code becomes easier to maintain, test, and extend while avoiding hidden dependencies and lifecycle bugs.
Core Features & Use Cases
- Responsibility checks: Ensures each script has a single clear job and suggests moving logic into plain C# classes where appropriate.
- Role guidance: Advises whether a type should be a MonoBehaviour, ScriptableObject, or plain class to reduce coupling.
- Coupling & communication: Detects hidden scene lookups, globals, and recommends direct references, interfaces, or event-based communication.
- Performance & lifecycle: Flags unnecessary Update usage, repeated Find calls, allocation hotspots, and subscription cleanup issues.
- Inspector UX & testability: Recommends serialized field practices, naming improvements, and strategies to make core logic unit-testable.
Quick Start
Review my PlayerController.cs and recommend refactors to reduce coupling, improve lifecycle management, and make core logic testable.