runtimeinitializeonload
Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| runtimeinitializeonload [2021/08/31 14:55] – 73.95.178.156 | runtimeinitializeonload [2025/01/15 04:35] (current) – external edit 127.0.0.1 | ||
|---|---|---|---|
| Line 17: | Line 17: | ||
| Methods with RuntimeInitializeLoadType.AfterSceneLoad, | Methods with RuntimeInitializeLoadType.AfterSceneLoad, | ||
| + | |||
| + | Another important thing is that the method should be static! | ||
| ---- | ---- | ||
| ===== Other Nuanced Info ===== | ===== Other Nuanced Info ===== | ||
| - | If you create a GameObject and attach a MonoBehaviour to it in " | + | If you create a GameObject and attach a MonoBehaviour to it in " |
| Example: | Example: | ||
runtimeinitializeonload.1630421754.txt.gz · Last modified: 2025/01/15 04:35 (external edit)