Say I have an object with an animation. If I want to play the animation I use
transform.animation.Play("Attack01");
This is going to play the full animation. How can I play for example, only half of it?
Say I have an object with an animation. If I want to play the animation I use
transform.animation.Play("Attack01");
This is going to play the full animation. How can I play for example, only half of it?
If you know you always want to play a particular half, create a new animation (Attack01A?) in the Animation Inspector, and select only the frames you want. Unity is very happy to have multiple animations share and even overlap frames.