Skip to content

Simple plugin to broadcast CustomJSONData's custom events

Notifications You must be signed in to change notification settings

artemiswkearney/SimpleCustomEvents

Repository files navigation

SimpleCustomEvents

Simple plugin to broadcast CustomJSONData's custom events.

The interface provided for subscribing to custom events is based on BeatmapObjectCallbackController.
A CustomEvents.CustomEventCallbackController component can be found on the same gameObject as BeatmapObjectCallbackController. To subscribe to all custom events of a given type (_type in the event JSON object), use the method AddCustomEventCallback. As with subscribing to lighting events from BeatmapObjectCallbackController, you may request to receive events ahead of their position in the song using the aheadTime parameter. However, unlike subscribing to lighting events, your callback will only be invoked for a single type of event specified when the callback is added. The (C#) event customEventDidTriggerEvent will fire whenever a custom event of any type occurs in the song (as though registered with an aheadTime of 0).

About

Simple plugin to broadcast CustomJSONData's custom events

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages