Skip to content

Commit a90f7c5

Browse files
committed
Don't leave the Awake method empty
1 parent e470d3b commit a90f7c5

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Assets/MRTK/SDK/Features/UX/Scripts/Collections/GridObjectCollection.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -517,9 +517,9 @@ protected virtual void OnDrawGizmosSelected()
517517
}
518518
}
519519

520+
#if UNITY_EDITOR
520521
private void Awake()
521522
{
522-
#if UNITY_EDITOR
523523
if (!EditorApplication.isPlaying)
524524
{
525525
if (assetVersion != CurrentAssetVersion)
@@ -528,8 +528,8 @@ private void Awake()
528528
PerformVersionPatching();
529529
}
530530
}
531-
#endif
532531
}
532+
#endif
533533

534534
#region asset version migration
535535
private const int CurrentAssetVersion = 1;

0 commit comments

Comments
 (0)