Use OnEnable to Setup Events and Statics.
Start and Awake don't get called on recompile and continue and Runtime InitializeOnLoadMethod does not get called with No Domain Reloading.
These two combined can dramatically improve your development time, as it goes from seconds to load and get back to testing to get back to coding to Instant. Code while you run the game, support event driven behaviours.
Please join Patreon https://www.patreon.com/DanVioletSagmiller
Discord Link: https://discord.gg/aSWuGEQeXv
#unity #unity3d #tutorial #videogamedev #gamedev #architecture
Education