Controlling animation editor programatically
I'm trying to figure out how to detect and control the record mode in the unity animation window (the red circle to the top left) and also to set the position of the 'time swiper' (the vertical red bar representing the current time). I've tried getting the type of the window and inspecting the member methods, both in my code and using ILSpy but nothing relevant is exposed. It seems it used to be: https://github.com/MattRix/UnityDecompiled/blob/master/UnityEditor/UnityEditor/AnimationWindow.cs This lists 'GetAutoRecordMode' but it seems that's been removed now. Any idea how to get at these functions or, if this has been removed to put up some roadblocks (if so, why? Things like this put me off unity), can I just know this in order to give up and crack on with something else? Thanks for reading
Your answer
Follow this Question
Related Questions
Applying values from an animationClip to bones of a skinnedMesh via code? 0 Answers
How to copy and paste animation events from one clip to another if those clips are included in FBXs? 1 Answer
How can I display a scriptable object in a custom editor ? 1 Answer
Any easy way to rearrange scene names 1 Answer
Property Drawer ArgumentException 1 Answer