GroupTrack.cs 662 B

123456789101112131415161718192021222324252627
  1. using System;
  2. using System.Collections.Generic;
  3. using UnityEngine.Playables;
  4. namespace UnityEngine.Timeline
  5. {
  6. /// <summary>
  7. /// A group track is a container that allows tracks to be arranged in a hierarchical manner.
  8. /// </summary>
  9. [Serializable]
  10. [TrackClipType(typeof(TrackAsset))]
  11. [SupportsChildTracks]
  12. [ExcludeFromPreset]
  13. public class GroupTrack : TrackAsset
  14. {
  15. internal override bool CanCompileClips()
  16. {
  17. return false;
  18. }
  19. /// <inheritdoc />
  20. public override IEnumerable<PlayableBinding> outputs
  21. {
  22. get { return PlayableBinding.None; }
  23. }
  24. }
  25. }