Animation Control by frame (use Animation.State.time)

hello there!

I trying to play animations by frames control

because a animation need a model(FBX)

so I try to use one animation to control EX. frame 0~30 move 30~50 attack 50~70 guard

I only know how to set start frame like:animation.time=0/30 {FPS is 30 for FBX}

but i make an “if()” such as

~ if(Mathf.Approximately(Body.animation[“alla”].time,EndTime/30f)){} ~ EndTime–>float

I had used equal like: ~ if(animation.time>=EndTime/30f) ~

both of them don’t work

can anyone give me some suggestion or maybe I wrong somewhere

Sorry for my Poor English…

I found I’m noob actually…

The Model of Import FBX can “Add Clip” By Frames!!