By default, Events in Transitions use
UnityEvents to define their callbacks. However, the system can be modified to use any other similar type of events. In particular, UltEvents have some significant advantages over UnityEvents so if you want to use them you can do the following:
- Import Animancer Pro and UltEvents into the same project.
Select the Assets/Plugins/Animancer/Animancer.asmdef and add a Reference to the
- Go into the Player Settings of your project and add
ANIMANCER_ULT_EVENTSas a Scripting Define Symbol. Or you can simply edit the
AnimancerEvent.Sequence.Serializable.csscript to change the event type.
Note that the serialized data structure of
UltEvents is entirely different so swapping between them will cause all existing events to lose their data. If you can think of a better way to implement it so that both systems can be used separately, please use the contact options listed in the Help page.