Playable scripting of Unity TimeLine

This article will talk about TimeLine's PlayAble scripting

    1.新建Playable Behaveiour,Playable Asset

     

    Playable Behaveiour is the life cycle of playable, and the other is Playable resource. These two must appear in sets

    2. Playable Behaveiour life cycle description

     

 

   3. Script editing

Example 1: Run to a certain point to assign a value to UI.Text

     

     

Example 2: Change Cube color

First create a script to hang on the Cube

We can create a new set of Playable to control

 

 

 

Guess you like

Origin blog.csdn.net/K20132014/article/details/101779673