monobehaviour
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
monobehaviour [2022/01/28 17:25] – 73.217.35.3 | monobehaviour [2025/01/15 04:35] (current) – external edit 127.0.0.1 | ||
---|---|---|---|
Line 15: | Line 15: | ||
* If no FixedUpdate() or Update() events are defined, Start will be run at the end of the frame the object awoke on. | * If no FixedUpdate() or Update() events are defined, Start will be run at the end of the frame the object awoke on. | ||
- | ==== OnDisable/ | + | ==== OnDisable/ |
* Both events are not affected by script execution order. | * Both events are not affected by script execution order. | ||
Line 27: | Line 28: | ||
* **OnDestroy**: | * **OnDestroy**: | ||
* Call order: same as hierarchy, parent before child. :!: | * Call order: same as hierarchy, parent before child. :!: | ||
+ | |||
+ | (Above Tested with 2017.4 and an opened Scene running in play mode in editor by stopping the play mode, may differ for other versions/ | ||
==== OnBecameVisible() ==== | ==== OnBecameVisible() ==== |
monobehaviour.1643390743.txt.gz · Last modified: 2025/01/15 04:35 (external edit)