Complete the code to define the method that runs once when the script instance is loaded.
void [1]() { Debug.Log("Script loaded"); }
The Awake method is called once when the script instance is loaded, before any other method.
Complete the code to define the method that runs once before the first frame update.
void [1]() { Debug.Log("Game started"); }
The Start method is called once before the first frame update, after Awake.
Fix the error in the method name that runs every frame.
void [1]() { Debug.Log("Frame updated"); }
The correct method name is Update, which runs every frame.
Fill both blanks to create a dictionary that maps lifecycle methods to their call order.
var lifecycleOrder = new Dictionary<string, int> {
{"[1]", 1},
{"[2]", 2}
};Awake is called first, then Start before the first frame update.
Fill all three blanks to complete the method that runs after all Update calls.
void [1]() { Debug.Log("Late update called after [2] and [3]"); }
LateUpdate runs after Update and FixedUpdate in the frame lifecycle.