Jump to a specific frame in an animation

Hi, i know this question often get asket, but i cant solve my problem. I’m not sure if it because of Unity 5 but …

animation[“Idle”].time = 2.45;

…didnt work.

The error says this function is obsolet.

Omg, i dont know why but suddenly Unity Updated my Script and i got working code.

GetComponent()[“Idle”].time = 2.45F;

Can be closed.