In an editor script, is there a way to access the Animation editor window's current frame value when in animation mode?
I would like to create some editor extensions for improving animation workflow inside Unity. One thing that would be very useful is some way to access the current frame of the Animation window's playhead - the vertical red line over the dope sheet or curve editor that shows where the user has scrubbed. The frame number is also displayed in a small text box at the top, between the next and previous keyframe buttons, and the add key button.
Answer by JamesKaret · Jan 07, 2021 at 09:09 AM
I was also wondering around about it and I found my own solution.
https://answers.unity.com/questions/1802448/how-can-i-get-current-frame-of-animation-clip-on-a.html
even it's 7 year-old question, pretty sure someone would be looking for the answer of same question just like myself.
Your answer
Follow this Question
Related Questions
Auto Increase SpriteRenderer Order in Layer? 0 Answers
Editor script modify scene, but changes dont want to be saved 1 Answer
Editor tool for selecting inverse dependencies, no-longer works in Unity 5.4? 1 Answer
[Editor] Variable is reseting to last manually entered value 0 Answers
How to see variables of child class with custom editor 0 Answers