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

Next revision
Previous revision
talk:runtimeinitializeonload [2022/02/11 07:49] – created 46.196.77.37talk:runtimeinitializeonload [2025/01/15 04:35] (current) – external edit 127.0.0.1
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.1644565796.txt.gz · Last modified: 2025/01/15 04:35 (external edit)

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki