Sets/removes a callback to change the animation state to the specified one. Signature is callback - void (Animator &)