Question by
gustavim15 · Nov 29, 2016 at 06:35 PM ·
variableclassstartreferencingawake
Access scripts on Awake or Start?
Hi everyone...
I know that Awake() runs before than Start(). But it is recommended to access and create reference of scripts on one of these? Or whatever?
Thank you!
Comment
Best Answer
Answer by conman79 · Nov 29, 2016 at 07:18 PM
It's good practice to create references of scripts in the Awake() function.
https://unity3d.com/learn/tutorials/topics/scripting/awake-and-start