Unity MonoBehaviour offers different magic events that you can attach to any GameObject. In this unity tutorial I will explain awake or start events as they both mostly use for assignment purposes.
Awake: Awake is invoked when the
MonoBehaviour is created. You may view it as your default constructor
Start: Start event executes after all initialization is done and the
first frame for the behavior is about to run. Start runs right before the
Update event.
Similarity:
Start/Awake are called exactly once
in the lifetime of the script.






