Search Unity

How to play a specific part of a timeline at a time?

Discussion in 'Timeline' started by csomerv1, Jul 19, 2019.

  1. csomerv1

    csomerv1

    Joined:
    Jun 20, 2019
    Posts:
    1
    Im working on a basic tour scene of a model and I was trying to script it to move using a timeline but only when the user inputs. The object has one timeline and I was trying to figure out how to reference individual clip tracks in a timeline and how to play them. I just want simple click to move functionality
     
  2. Gregoryl

    Gregoryl

    Unity Technologies

    Joined:
    Dec 22, 2016
    Posts:
    2,725
    You can set the playable director's time property to the desired start time before calling Play().