Closed InverNessian closed 5 years ago
Finally got my first custom event working! You can extend the UnityEvent
I think I need to find a way to vary my Events, otherwise I'll need a unique Event for every special action! That might be a bit overwhelming... but it might also be the best way of doing things? Ugh.
This is now well underway. The concept is tested and works, I just need to expand it. I do plan to have the unique event for each possible action, since some effects (Such as Inspire) can have multiple triggers off of one event. This allows for maximum granularity.
It may be easier to use delegates for this? At least for combat events & talents, that's what I had to do.
I need to figure out how to effectively use the Events System that Unity has. It's a great way to avoid having specific hard codes for all my talents that key off of particular conditions. Custom events would make this super easy.