Mecanim - reducing animation clip playback speed on the fly, through script?

I’m in the process of converting my animations to mecanim in my multiplayer third person shooter, and I’ve hit an impass here.

I’ve searched for the solution to this, and I know you can set up multiple states/blend trees with the same animation clip and set them to have different speeds in the graph editor, but I need to do it from script on the fly, because the specific speed varies depending on latency.

I “hide the latency” in some situations, based on the transit time of an RPC function, say, a reload message, by increasing the speed of the reload animation based on the network transit time (Network.time - info.timestamp), so they finish at the same time on the remote and the owner. Is there any way I can do this with mecanim? As far as I can tell, you can only change the animation speed the entire animator through script.

Bump. Is there any way to edit individual animation clips speed through code when using Mecanim? Or does anyone have any suggestions as to a workaround to my aforementioned example?

asked exactly the same question a day ago - zero response…