We're now at a point where we can realistically discuss the most common default methods that come with any new Unity C# script: Start() and Update(). Unlike the methods we define ourselves, methods belonging to the MonoBehaviour class are called automatically by the Unity engine according to their respective rules. It's important in most cases to have at least one MonoBehaviour method in a script to kick off your own code.
You can find a complete list of all available MonoBehaviour methods and their descriptions here: https://docs.unity3d.com/ScriptReference/MonoBehaviour.html.
The Start method
Unity calls this method on the first frame where a script is enabled. SinceMonoBehaviourscripts are almost always attached to GameObjects in a scene, their attached scripts are enabled at the same time they are loaded when you hit play. In our project,LearningCurveis attached to the Main Camera GameObject, which...