For those of you coming from a more traditional academic programming language/software, Unity may be a little confusing in terms of when and where things happen. Unlike, say, Python, there is no main loop to be called explicitly. Instead, Unity scripts are derived from the [https://docs.unity3d.com/ScriptReference/MonoBehaviour.html MonoBehaviour] class, which handles the [https://docs.unity3d.com/Manual/ExecutionOrder.html order of execution] and any update loops per object. Below is a list of key functions that you will likely have to use to get things done or measured. | For those of you coming from a more traditional academic programming language/software, Unity may be a little confusing in terms of when and where things happen. Unlike, say, Python, there is no main loop to be called explicitly. Instead, Unity scripts are derived from the [https://docs.unity3d.com/ScriptReference/MonoBehaviour.html MonoBehaviour] class, which handles the [https://docs.unity3d.com/Manual/ExecutionOrder.html order of execution] and any update loops per object. Below is a list of key functions that you will likely have to use to get things done or measured. |