Hello, me again with yet another silly question
I want my player to play movement animation when it is moving and then idle animation when it reached the destination (and before the new destination is set).
I know I can check in Update(), if he reached the destination yet and based on that set my Animator, however, I am worried about performance.
Is there any other way how to do it? Something maybe event - based? I imagine a callback which could be called when the destination is reached
Thanks for help!