SW-Wiktor-Bombola/SW-Unity/Library/PackageCache/com.unity.timeline@1.2.18/Documentation~/insp_trk_act.md
2021-12-04 15:15:29 +01:00

1.5 KiB

Activation track properties

Use the Inspector window to change the name of an Activation track and set the state of its bound GameObject when the Timeline Asset finishes playing.

Inspector window when selecting an Activation track in the Timeline window

Inspector window when selecting an Activation track in the Timeline window

Property Description
Display Name The name of the Activation track shown in the Timeline window and Playable Director component. The Display Name applies to the Timeline Asset and all of its Timeline instances.
Post-playback state Sets the activation state for the bound GameObject when the Timeline Asset stops playing. The Post-playback state applies to the Timeline Asset and all of its Timeline instances.
Active Activates the bound GameObject when the Timeline Asset finishes playing.
Inactive Deactivates the bound GameObject when the Timeline Asset finishes playing.
Revert Reverts the bound GameObject to its activation state before the Timeline Asset began playing.

For example, if the Timeline Asset finishes playing with the GameObject set to inactive, and the GameObject was active before the Timeline Asset began playing, then the GameObject reverts to active.
Leave As Is Sets the activation state of the bound GameObject to the state the Timeline Asset is at when it finishes playing.

For example, if the Timeline Asset finishes playing with the GameObject set to inactive, the GameObject remains inactive.