If you choose a animation fbx,the animation section in its inspector will show a animation preview window as attached image shows.I would like to use script to control the preview speed which is by default controlled by the slider on upper-right of the preview window?Any ideas?Thanks a lot!

I remember once saw a guy controlling the animation preview speed in the preview area of inspector via C#,it looks like the default speed slider synchronizes with the script,because I saw the slider also moves while the animation preview speed was changed by the guy using C#.But I didn’t know how.Some master would cast some lights on this?:)