C
C#9mo 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
Buddy9mo ago
Context? Via code or whenever an animation should play?
ULTIMA
ULTIMAOP9mo 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
MODiX9mo 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
Buddy9mo ago
You don't use animation controller? Which is what you should use
ULTIMA
ULTIMAOP9mo ago
BlazeBin - kwdltcwlkuzl
A tool for sharing your source code with the world!
ULTIMA
ULTIMAOP9mo 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

Did you find this page helpful?