C
C#5w ago
ULTIMA

anyone know animation in unity? i know i should ask here but nobody responds in Unity discord

i just need to know how to stop an animation/ interupt an animation
6 Replies
Buddy
Buddy5w ago
Context? Via code or whenever an animation should play?
ULTIMA
ULTIMA5w ago
im using bools for walking and idle, so when the enemy is walking the walking bool is true and the idle is false, but it either keeps playing the animation or just stops entirely $code
MODiX
MODiX5w ago
To post C# code type the following: ```cs // code here ``` Get an example by typing $codegif in chat For longer snippets, use: https://paste.mod.gg/
Buddy
Buddy5w ago
You don't use animation controller? Which is what you should use
ULTIMA
ULTIMA5w ago
BlazeBin - kwdltcwlkuzl
A tool for sharing your source code with the world!
ULTIMA
ULTIMA5w ago
yes i am using animation controller i think yes, im using an animation controller is there some way to just stop an animation once the conditions are met to switch? i dont do animation in unity at all ignore my post im just dumb