Version: 2019.2
Using the Timeline window
Recording basic animation with an Infinite clip

Creating a Timeline Asset and Timeline instance

To use a Timeline Asset in your Scene, associate the Timeline Asset with a GameObject using a Playable Director component. Associating a Timeline Asset with a Playable Director component creates a Timeline instance and allows you to specify which objects in the Scene are animated by the Timeline Asset. To animate a GameObject, it must also have an Animator component.

The Timeline window automatically creates a Timeline instance while creating a new Timeline Asset. The Timeline window also creates the necessary components.

タイムラインアセットとタイムラインインスタンスを作成する手順は以下の通りです。

  1. In your Scene, select the GameObject that you want to use as the focus of your cinematic or other gameplay-based sequence.

  2. Open the Timeline window (menu: Window > Sequencing > Timeline). If the GameObject does not yet have a Playable Director component attached to a Timeline Asset, a message in the Timeline window prompts you to click the Create button.

  3. Click Create. A dialog box prompts you for the name and location of the Timeline Asset you are creating. You can also specify tags to identify the Timeline Asset.

  4. Click Save.

The Timeline window does the following:

  • Saves a new Timeline Asset to the Assets directory of your Project. If you did not change the name and location of the Timeline Asset you are creating, the Timeline window creates a name based on the selected GameObject with the “Timeline” suffix. For example, selecting the GameObject called “Enemy” names the Asset “EnemyTimeline”.

  • 空のアニメーショントラックをタイムラインアセットに加えます。

  • Adds a Playable Director component to the selected GameObject, and sets the Playable property to the Timeline Asset. This creates a Timeline instance.

  • Sets the binding on the Animation track in the Playable Director component to the selected GameObject. The Animation track does not have any clips, so the selected GameObject is not animated.

  • 選択したゲームオブジェクトに Animator コンポーネントを加えます。Animator コンポーネントはタイムラインインスタンスを通してゲームオブジェクトをアニメーション化します。Animator コンポーネント無しに、ゲームオブジェクトをアニメーション化することはできません。


  • 2019–08–20 Page published
Using the Timeline window
Recording basic animation with an Infinite clip