- Home /
Question by
PsychoHead · Dec 26, 2012 at 03:16 PM ·
mecanimhash
Referencing Mecanims Substates
Hello, I have a fairly simple problem that I didn't find any documentation for. Usually, would I check for a state, I'd use something like Animator.StringToHash("Layer.State");
This does not seem to work for Sub-Statemachines however, using Animator.StringToHash("Layer.Sub-Statemachine");
Is there any possible solution for such functionality?
Comment
To put it short: all I want is accessing a Sub-Statemachine and it's states.
Answer by KFRadical · Jan 12, 2013 at 05:11 PM
Hi
I'm right now with the same problem and using Base.SubStateMachineName.State doesn't work :( Do you know how to do it already?
Thanks, bye
Your answer