Hi. I am sorry that this may be a super simple question, but I searched the forum and manual without finding the answer. I am trying to find whether there is a standard Action or script to know if the player animator is playing a custom animation. The Charstate.custom seems not for this purpose?
I am now using a Global variable to handle this, but hoping to find a "faster" way. Thank you very much.
Comments
For playing the custom animation, I always use the Object > Animate action. Because probably due to the way I control the animation by an attached script, the Character > Animation action is overtaken by the script (even if I make the animation engine change to Unity Sprite during GameState.Cutscene). That is also the reason I need to use a variable to ask the script to "make way" for the action. Thus I wish to know if there is a single line of code to tell the script that the Object > Animate action is playing.
Maybe this way is not how AC is intended to be used?