We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent d5d14ee commit f920bbaCopy full SHA for f920bba
1 file changed
Assets/Editor Toolbox/Runtime/Serialization/SerializedScene.cs
@@ -38,9 +38,12 @@ void ISerializationCallbackReceiver.OnBeforeSerialize()
38
#endif
39
}
40
41
-
+ //TODO:
42
+ // 1 - move it to other class
43
+ // 2 - try cache indexes in runtime but only if needed
44
+ // 3 - update indexes before build
45
#if UNITY_EDITOR
- [InitializeOnLoadMethod]
46
+ [InitializeOnLoadMethod, RuntimeInitializeOnLoadMethod(RuntimeInitializeLoadType.BeforeSceneLoad)]
47
private static void Initialize()
48
{
49
UpdateAllIndexes();
0 commit comments