SW-Wiktor-Bombola/SW-Unity/Library/PackageCache/com.unity.timeline@1.2.18/Documentation~/insp_trk_act.md

17 lines
1.5 KiB
Markdown
Raw Normal View History

2021-12-04 15:15:29 +01:00
# 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](images/timeline_inspector_activation_track.png)
_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.<br /><br />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.<br /><br />For example, if the Timeline Asset finishes playing with the GameObject set to inactive, the GameObject remains inactive.|