VRCTEvent v0.4.0
✨ Added
AbstractEventEmitterandAbstractSynchronizedEventEmitternow have aneventEmitterDebuggingoption. When it is turned on, the emitter writes handler registrations, unregistrations, stale handler cleanup and every emission (including each handler call and the current nesting depth) to the game log
🔧 Changed
io.vrctools.common0.3.1 or newer is now requiredcom.vrchat.worlds3.8.1 or newer is now required- Log messages are now written through
UdonDebugand start with the emitter’s type and object name instead of[Event Emitter]. In the editor, these names are color coded _UnregisterHandler(eventId, handler, eventName)now logs an error when there is no matching registration, instead of doing nothing- The samples assembly is no longer automatically referenced by other assemblies in the project
- The example receiver’s handler function is now marked with
[CustomEvent]
🐞 Fixed
- Emitting an event from within a handler function could break the outer emission, causing its remaining handlers to be skipped or invoked incorrectly (
_EmitEventis now marked[RecursiveMethod])
📚 Documentation
- The README examples now mark handler functions with
[CustomEvent]fromio.vrctools.common