unity-observer-pattern

Community

Reactive properties for Unity UI and logic.

AuthorMuharremTozan
Version1.0.0
Installs0

System Documentation

What problem does it solve?

Unity UI and gameplay logic often suffer from tight coupling between data and presentation, making it hard to reuse state and wire up UI. The unity-observer-pattern skill introduces a Reactive Property system that turns ordinary fields into Observable<T> data points with UnityEvent support, enabling clean data flow and responsive interfaces.

Core Features & Use Cases

  • Hybrid Path: supports both in-code listeners and inspector-bound UnityEvent bindings.
  • Implicit Casting: lets you treat Observable<T> as the underlying T for concise syntax.
  • Editor Persistence: automatically wires persistent calls in Edit Mode to maintain bindings across scenes.
  • Diagnostic & Tooling: built-in logging and optional editor tools for managing listeners.

Quick Start

Create an Observable<T> field and bind its OnValueChanged to a UI method or respond in code.

Dependency Matrix

Required Modules

None required

Components

referencesassets

💻 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-observer-pattern
Download link: https://github.com/MuharremTozan/Ohm-Yura/archive/main.zip#unity-observer-pattern

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.