17. You are making a game where you need to execute your own functions in response to critical animation events for a rigged character. Specifically, there are two events you must handle: when an animation state is entered and when it is exited in the Animator graph. Which class may be used to invoke your code when those two events happen?
49. The following code snippets attempt to change an objects color to red during a certain interval of the objects animation. The interval is defined as percentages of the animation duration, enablePercentTime and disablePercentTime (for example, turn the object to red starting 20% of the way through the animation and turn the color back to the original color when the animation is 60% through). Which of the code snippets do this correctly?