ZMWSLI0-SL2021-GR11/cw1/clock/Library/PackageCache/com.unity.timeline@1.2.18/Runtime/AssetUpgrade/TimelineUpgrade.cs

22 lines
501 B
C#
Raw Permalink Normal View History

2021-04-10 17:27:42 +02:00
namespace UnityEngine.Timeline
{
partial class TimelineAsset
{
enum Versions
{
Initial = 0
}
const int k_LatestVersion = (int)Versions.Initial;
[SerializeField, HideInInspector] int m_Version;
//fields that are used for upgrading should be put here, ideally as read-only
void UpgradeToLatestVersion()
{}
//upgrade code should go into this class
static class TimelineAssetUpgrade
{}
}
}