Bolt 2 will provide preconfigured units for every event member included in the Extraction process (e.g. public event Action<int> onDamage).

Events on generic target types will be supported thanks to the new generic construction support (see details below).

Events with return values will not be supported and are generally considered bad practice, because only the value of the last event handler to be registered would be used.

Those event units will be added to the C# event handler (+=) when the graph starts listening, and removed (-=) when it stops listening. The arguments of the events will be passed as outputs, while the target of the event (if applicable) will be the sole input. For example, the signature for an event Action<int> onDamage on a Player component class would be:

Inputs


Outputs