Binding
Hear that a player moved a control, without wiring anything in the inspector.
A player drags a slider and the music gets louder. In a VRChat world that usually means wiring the slider to a behaviour in the Inspector and naming a method by a string, which fails silently the day someone renames it.
Udonite Binding connects sliders, toggles, text fields and dropdowns to your code with methods the compiler checks. Rename one and the build tells you, instead of the world going quiet.
What you get
- No Inspector wiring. Controls report to your code directly.
- Checked at compile time. Every handler is a real method, not a string.
- Both directions. Keep a control and a value in step, so code and players can each change it.
- Several views of one value. A slider and a fill bar show the same number without knowing about each other.
It comes with every Udonite licence and installs from Udonite > Open Window > Packages in Unity.
The full documentation comes with the licence and opens here once you sign in.