I'm using unity 2020.3.23f1 and AnyPortrait 1.3.5. I've tried following the tutorial both on youtube and on the website, but it does not appear to trigger an event inside the animation, thus Debug.Log does not provide the console with a text. I always make sure to bake after using the 2d editor. Here is what I've done:
I hope you can help. Thank you!
We're glad the problem has been resolved.
And thanks to your report, we were able to find the problem of the website.
Thank you! :)
If you have any other needs or questions, please feel free to leave a post!
Have a nice day!
unbelievable... it worked, I just did not check the top right corner of the console tab. I'm so sorry for the hassle. Thank you!
Hi!
Checking the images you uploaded, we didn't find anything odd.
You have set it up well for the rules, and it should work. (It's really strange that it isn't.)
We did a similar test, and it worked just fine in our tests.
This is a minor point not related to AnyPortrait, please check the 3 buttons in the upper right corner of the Console tab as shown in the image above.
If the above buttons are off, the contents of Log, LogWarning, and LogError are not displayed respectively.
Put another code in the event function ("EndDashForward") and test it.
For example, add code like "Debug.Break();" to test if the event works.
Please check once again that the animation ("DashForward") with the event set is playing correctly.
We've thought about a few things and said the above, but in fact, you've set it up so perfectly well that it's hard for us to find the cause of the problem.
If that still doesn't work, try another event call method called "Callback".
This is intuitive because the event functions don't have to have the same name, and you can specify them directly.
It's at the bottom of the following manual page.
https://rainyrizzle.github.io/en/AdvancedManual/AD_AnimationEvents.html
We're sorry we couldn't give you a clear answer.
Check out our answers and leave a comment if it doesn't solve the problem!
And, if necessary, please send us the file by email, so we can review it right away.
Thank you.