How can I read animation[“clipname”].time from a clip which was played using objectname.animation.PlayQueued (“clipname”, QueueMode.CompleteOthers); ? I know why I can’t do it normal way (because Unity is making a copy of original animation). The question is – how can I do it?
Does this :
AnimationState state = objectname.animation.PlayQueued ("clipname", QueueMode.CompleteOthers);
float timePassed = state.time; // passed time.
work for you ?