Calls a trigger for the current scene, as well as its instances.
Triggers are required for custom signal and events. By calling, you can
force to pull functions with special attributes, for example:
aliasSpecEvent = Trigger("SpecialEvent");
@SpecEventvoidonSpec() @safe { ... }
...
sceneManager.trigger("SpecialEvent");
// Will cause the exact event to be called by calling the function,// only for the scene that is being held in the context.
Calls a trigger for the current scene, as well as its instances.
Triggers are required for custom signal and events. By calling, you can force to pull functions with special attributes, for example: