Author Topic: Stop and re-start Animation timeline on click?  (Read 1746 times)

Doss

  • Guest
Stop and re-start Animation timeline on click?
« on: October 30, 2012, 11:31:55 AM »
Hello there,

I am brand new to Unity, and right away ran into some animation issues.
I am looking to control the timeline, with clicks to tell the animations timeline when to stop/pause, and then continue along the same timeline after a click or some other form of user input.

For my personal example, I am looking to animate "Object A" along a path, on which it will stop at a certain point, and wait to be clicked again. When it is clicked I would like it to continue the remainder of the timeline, to the end.

I suppose I could compare what i need, to the the timeline in Flash, where I can directly  effect the timeline where to stop/start, and then continue with gotoAndPlay or On event listener methods.

Is anything like event listeners to wait for input possible within Unity? I am also using Ngui, but cannot find a feature I need.

Thanks very much.

JRoch

  • Full Member
  • ***
  • Thank You
  • -Given: 0
  • -Receive: 0
  • Posts: 140
    • View Profile
Re: Stop and re-start Animation timeline on click?
« Reply #1 on: October 30, 2012, 11:33:55 AM »
That is totally not a question about NGUI at all.