mirror of
https://github.com/RPG-Research/bcirpg.git
synced 2024-04-16 14:23:01 +00:00
22 lines
501 B
C#
22 lines
501 B
C#
|
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
|
||
|
{}
|
||
|
}
|
||
|
}
|