Unity:
C# Awake and Start in Unity! – Beginner Scripting Tutorial
C# Awake and Start in Unity! – Beginner Scripting Tutorial Watch this video in context on Unity Learn:
https://learn.unity.com/tutorial/awake-and-start
How to use Awake and Start, two of Unity’s initialisation functions.