Closed ba-zero closed 3 weeks ago
Thanks for letting me know, that fix will be in the next version of Animancer.
I just found another few more similar mistakes in that script. There's 4 places with States.TryGet(name
which should be States.TryGet(stateName
instead.
Environment
Description
The HybridAnimancerComponent SetFloat() method always passes a name even when called with an int ID.![image](https://github.com/KybernetikGames/animancer/assets/127902062/8db18928-6841-40a3-bf87-e8780120b0b9)
which results in a "Parameter 'Hash #######' does not exist." warning.
A simple fix is to replace 'name' with 'id':![image](https://github.com/KybernetikGames/animancer/assets/127902062/4c1ba5a6-e73b-47d4-9532-68632e131a3e)