C
C#6mo 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
Buddy6mo ago
Context? Via code or whenever an animation should play?
ULTIMA
ULTIMAOP6mo 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
MODiX6mo 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
Buddy6mo ago
You don't use animation controller? Which is what you should use
ULTIMA
ULTIMAOP6mo ago
BlazeBin - kwdltcwlkuzl
A tool for sharing your source code with the world!
ULTIMA
ULTIMAOP6mo 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
Want results from more Discord servers?
Add your server