You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
22 lines
503 B
C#
22 lines
503 B
C#
1 year ago
|
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
|
||
|
{ }
|
||
|
}
|
||
|
}
|