summaryrefslogtreecommitdiff
path: root/Library/PackageCache/com.unity.timeline@1.2.13/Runtime/AssetUpgrade/TimelineUpgrade.cs
blob: 86135c6896e83a7c87cecbec59027232eae756e8 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
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
        {}
    }
}