版本unity2017.2.2+之后,TimeLine中添加的PlayableTrack只能是Playable Asset C# Script
TimeLine中的PlayableTrack可添加的clip类型
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.Playables;
[System.Serializable]
public class NewPlayableAsset : PlayableAsset
{
// ExposedReference类型使其变量可以选择Hirearchy面板中的对象
// 在PlayableAsset中,仅仅使用public修饰的变量,只可以选择Project文件夹中的对象
public ExposedReference<PlayableDirector> playableDir;
public ExposedReference<Animator&g