mirror of
https://gitgud.io/AbstractConcept/rimworld-animation-studio.git
synced 2024-08-15 00:43:27 +00:00
34 lines
1 KiB
C#
34 lines
1 KiB
C#
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;
|
|
}
|
|
}
|
|
}
|