AnimationEditor-Event: different framecount


ive created a camera-animation with the animation-editor. On the timeline in frame 300 by second five, ive added an animation event which calls a function.


Then i get the output " 161". Any explanation on that? I thought i get the 300 value.... Thanks for your help..

Animation frames are seperate to game frames - they're run as if they were 30 fps constantly, whie Time.frameCount is just how many rendered frames you've encountered so far