A game about forced loneliness, made by TACStudios
1using System;
2using UnityEngine;
3
4namespace UnityEngine.Timeline
5{
6 /// <summary>
7 /// A PlayableTrack is a track whose clips are custom playables.
8 /// </summary>
9 /// <remarks>
10 /// This is a track that can contain PlayableAssets that are found in the project and do not have their own specified track type.
11 /// </remarks>
12 [Serializable]
13 [TimelineHelpURL(typeof(PlayableTrack))]
14 public class PlayableTrack : TrackAsset
15 {
16 /// <inheritdoc />
17 protected override void OnCreateClip(TimelineClip clip)
18 {
19 if (clip.asset != null)
20 clip.displayName = clip.asset.GetType().Name;
21 }
22 }
23}