Uninomicon

Documenting the dark corners of the Unity Engine.

User Tools

Site Tools


talk:runtimeinitializeonload

Differences

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

Link to this comparison view

talk:runtimeinitializeonload [2022/02/11 07:49]
46.196.77.37 created
talk:runtimeinitializeonload [2022/02/11 07:51]
alpdogan
Line 6: Line 6:
 Method with InitializeOnLoadMethod called only on compilation. Method with InitializeOnLoadMethod called only on compilation.
  
-For example if one needs to append to PlayerLoop on editor context, it should be done in method with InitializeOnLoadMethod. But for builds it should be RuntimeInitializeOnLoadMethod. Those two will collide in editor context. +For example if one needs to append to PlayerLoop on editor context, it should be done in method with InitializeOnLoadMethod. But for builds it should be RuntimeInitializeOnLoadMethod. Those two will collide in editor context. (alpdogan)
talk/runtimeinitializeonload.txt ยท Last modified: 2022/02/11 07:51 by alpdogan