From c55fba8ab2a1c9d3df65eda4a5a1e957f4aa1f78 Mon Sep 17 00:00:00 2001 From: Andrew Lee Date: Sun, 19 Apr 2020 17:19:32 -0400 Subject: Inital commit --- .../Runtime/Timeline.deprecated.cs | 34 ++++++++++++++++++++++ 1 file changed, 34 insertions(+) create mode 100644 Library/PackageCache/com.unity.timeline@1.2.13/Runtime/Timeline.deprecated.cs (limited to 'Library/PackageCache/com.unity.timeline@1.2.13/Runtime/Timeline.deprecated.cs') diff --git a/Library/PackageCache/com.unity.timeline@1.2.13/Runtime/Timeline.deprecated.cs b/Library/PackageCache/com.unity.timeline@1.2.13/Runtime/Timeline.deprecated.cs new file mode 100644 index 0000000..ac2b4c2 --- /dev/null +++ b/Library/PackageCache/com.unity.timeline@1.2.13/Runtime/Timeline.deprecated.cs @@ -0,0 +1,34 @@ +using System; +using UnityEngine; +using UnityEngine.Playables; + +namespace UnityEngine.Timeline +{ + public partial class TimelineAsset + { + [Obsolete("MediaType has been deprecated. It is no longer required, and will be removed in a future release.", false)] + public enum MediaType + { + Animation, + Audio, + Texture = 2, + [Obsolete("Use Texture MediaType instead. (UnityUpgradable) -> UnityEngine.Timeline.TimelineAsset/MediaType.Texture", false)] Video = 2, + Script, + Hybrid, + Group + } + } + + // Defines the type of a track + [AttributeUsage(AttributeTargets.Class)] + [Obsolete("TrackMediaType has been deprecated. It is no longer required, and will be removed in a future release.", false)] + public class TrackMediaType : Attribute + { + public readonly TimelineAsset.MediaType m_MediaType; + + public TrackMediaType(TimelineAsset.MediaType mt) + { + m_MediaType = mt; + } + } +} -- cgit v1.2.3