- Home /
Layers animator
I am new to unity .. and i would like to understand how to change the layer page to use.
I have my own player that changes animations according to the mode.
The mode is read via an enum {UNARMED, ONEHAND, ...} present in the movement script I have also created a script with StateMachineBehaviour that manages the animations that must be called with trigger parameters..
I put a picture
IN CONCLUSION: I would need to switch to using one layer or the other according to my player mode
Thanks for your special help. Come on tell me something :) >.<
More of 150 views... no 1 answer not even a hello. Don't say hello. <<<<< lalalalaaaa
Answer by Nistroy · Jun 29, 2021 at 06:31 PM
Why not use Sub-State Machine. Honestly I only use one layer because otherwise I will get tangled up myself. Tell me if that's what you want @MicheleSurgo ! ^^
yes maybe that's what I'm looking for but how can I access this substate with only one condition I have more style for my player.. example: if i press 1 my player changes all animations. explain to me how it works
Hi @$$anonymous$$Surgo I explained everything in a video that you can find in the link opposite: https://youtu.be/yPfg5x0xN7I
Nooo ahahhaah You are the best man!!! <3 <3
Your answer
Follow this Question
Related Questions
How to disable/override a part of an animation created in Unity 2017.4 0 Answers
2D Animation does not start 1 Answer
Animator Controller Tutorials 1 Answer
Animator layers with higher priority preventing others layers from working? 0 Answers
Unity override animator stops animation on second layer 0 Answers