Uninomicon

Documenting the dark corners of the Unity Engine.

User Tools

Site Tools


runtimeinitializeonload

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
runtimeinitializeonload [2021/08/31 14:56]
73.95.178.156
runtimeinitializeonload [2022/01/26 04:23] (current)
187.190.156.255
Line 17: Line 17:
  
 Methods with RuntimeInitializeLoadType.AfterSceneLoad, or RuntimeInitializeLoadType.BeforeSceneLoad will only be called for the **first** scene in a run of the application, not every scene. ((Tested in Unity 2019.4.19f1, in editor and in Android build)) Methods with RuntimeInitializeLoadType.AfterSceneLoad, or RuntimeInitializeLoadType.BeforeSceneLoad will only be called for the **first** scene in a run of the application, not every scene. ((Tested in Unity 2019.4.19f1, in editor and in Android build))
 +
 +Another important thing is that the method should be static!
 ---- ----
  
runtimeinitializeonload.txt ยท Last modified: 2022/01/26 04:23 by 187.190.156.255