Give me list of all Monobehaviour functions (Unity, C#) and a short 1 sentence…
- User
Give me list of all Monobehaviour functions (Unity, C#) and a short 1 sentence description.
Assistant
Here is a list of MonoBehaviour functions in Unity (C#) along with a short description:
• Awake() - Called when the script instance is being loaded. • Start() - Called on the frame when a script is enabled just before any of the Update methods is called the first time. • Update() - Called every frame, if the MonoBehaviour is enabled. • LateUpdate() - Called every frame, if the MonoBehaviour is enabled. Called after all Update functions have been called. • FixedUpdate() - Called at a fixed interval and is independent of frame rate. Used for physics calculations. • OnGUI() - Called multiple times per frame in response to GUI events. Used to draw UI elements. • OnDisable() - Called when the behaviour becomes disabled or inactive. • OnEnable() - Called when the behaviour becomes enabled or active. • OnDestroy() - Called when the behaviour will be destroyed. • OnTriggerEnter(Collider) - Called when a Collider on another GameObject overlaps with this trigger. • OnTriggerExit(Collider) - Called when a Collider on another GameObject stops overlapping with this trigger. • OnTriggerStay(Collider) - Called once per frame for every Collider on another GameObject that is touching this trigger. • OnCollisionEnter(Collision) - Called when this collider/rigidbody has begun touching another rigidbody/collider. • OnCollisionExit(Collision) - Called when this collider/rigidbody has stopped touching another rigidbody/collider. • OnCollisionStay(Collision) - Called once per frame for every collider/rigidbody that is touching rigidbody/collider. • OnApplicationPause(bool) - Called when the application pauses and resumes.
Other models, same or similar prompt
Responses were produced in different, uncontrolled contexts (system prompts, settings, prior turns). This is not a benchmark.