Search Unity

  1. We are migrating the Unity Forums to Unity Discussions. On July 12, the Unity Forums will become read-only. On July 15, Unity Discussions will become read-only until July 18, when the new design and the migrated forum contents will go live. Read our full announcement for more information and let us know if you have any questions.

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:
    7,905
    You can set the playable director's time property to the desired start time before calling Play().
     
    shoutr_work_tt and mfatihbarut like this.
  3. lvseouren

    lvseouren

    Joined:
    Nov 6, 2020
    Posts:
    3
    but this only specify the start of the part,how to specify the stop point of the part?