You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I found a small bug. I am checking events first before adding them to ensure I don't double-add a custom event. But if I do this, I'll get a null reference exception because customEvents is null until one is defined.
But maybe would be better to just always define customEvents on init? If not, there may be some other places where customEvents is accessed without null check.
The text was updated successfully, but these errors were encountered:
Thanks for this great resource :)
I found a small bug. I am checking events first before adding them to ensure I don't double-add a custom event. But if I do this, I'll get a null reference exception because customEvents is null until one is defined.
SpritedowAnimator/Source/Assets/SpritedowAnimator/Source/BaseAnimator.cs
Line 686 in d3cb7a4
I added a null check to this if:
But maybe would be better to just always define customEvents on init? If not, there may be some other places where customEvents is accessed without null check.
The text was updated successfully, but these errors were encountered: