Hi.
In your animation you can set an event in the timeline of your animation.
Then when you select the event, you can set a function.
You can do a SendEvent or a SetState. (see image below)
But you can only do this on an fsm that is on the same object as the animator
or you can use the animator state sync.
You can get the script on the
Ecosystem , search for "animator proxies"
after you got it and you have errors, also search for "Play Maker Utils" and get/update this.
then you can follow the video below :