blob: ac2b4c205ea6b4bfc45117af14d7b68ae24c049f (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
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;
}
}
}
|