Timeline for Does MonoBehaviour have a method that is called in editor when the object is created?
Current License: CC BY-SA 4.0
5 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Jun 10, 2023 at 22:48 | vote | accept | Alexandre Marcati | ||
Jun 10, 2023 at 9:28 | comment | added | Nikaas | @AlexandreMarcati Yes Awake() + OnValidate() combo can be useful to initialize in edit mode aswell as play mode (when created and if inspector change is made). | |
Jun 6, 2023 at 13:32 | comment | added | Alexandre Marcati | Calling a method from both OnValidate() and Awake() seems like a good idea! I'll try that, thanks! | |
Jun 5, 2023 at 20:44 | history | edited | DMGregory♦ | CC BY-SA 4.0 |
Adding Reset
|
Jun 5, 2023 at 20:13 | history | answered | DMGregory♦ | CC BY-SA 4.0 |