Search Unity

  1. Welcome to the Unity Forums! Please take the time to read our Code of Conduct to familiarize yourself with the forum rules and how to post constructively.
  2. We have updated the language to the Editor Terms based on feedback from our employees and community. Learn more.
    Dismiss Notice

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,321
    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?