hello
I use some parameters in my Animator, multiple bools and also a couple of triggers.
When a Trigger parameter is turned on by calling SetTrigger() it stays true until it is used in a transition and it turns false after that. I really need that behavior, so I don’t want to use bools instead.
I need to know at some point if a trigger is true. I mean that it has been turned on, but the transition has not been played yet and it is still waiting for it.
There are the Animator.GetBool, GetInt & GetFloat functions, but not a GetTrigger function.
I tried the GetBool function with my trigger parameter’s name, but it always returns false …
How can I check if a Trigger has been set to true ?
Thanks in advance
Vince