I really need to know what the code is to do this?
Thanks in advance.
Debug.Log() placed next to the relevant SetTrigger() calls can reveal this.
AFAIK there’s no direct way to sense and log the trigger itself, but I suppose you could override a state behaviour machine.
Remember you can leave the Animator window open and the object in question selected and watch the animation state graph change in real time to help you figure out what states it is going into, and I think it might even blink the trigger property too.
1 Like