|
|
|
|
|
|
{ |
|
|
|
needMigrateToHDProbeChild = true; |
|
|
|
} |
|
|
|
else if (m_Version < (int)Version.UseInfluenceVolume) |
|
|
|
if (m_Version < (int)Version.UseInfluenceVolume) |
|
|
|
else if (m_Version < (int)Version.MergeEditors) |
|
|
|
if (m_Version < (int)Version.MergeEditors) |
|
|
|
else |
|
|
|
else if(m_Version < (int)Version.Current) |
|
|
|
} |
|
|
|
|
|
|
|
internal override void Awake() |
|
|
|
{ |
|
|
|
base.Awake(); |
|
|
|
|
|
|
|
//launch migration at creation too as m_Version could not have an
|
|
|
|
//existance in older version
|
|
|
|
OnAfterDeserialize(); |
|
|
|
OnEnable(); |
|
|
|
} |
|
|
|
|
|
|
|
void OnEnable() |
|
|
|