Event Functions Invoke Order in Unity Game Engine


InvokeOrder.cs
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using System.Reflection;

public class InvokeOrder : MonoBehaviour
{
    void Start()
    {
        Debug.Log("Start()");
    }

    void Awake()
    {
        Debug.Log("Awake()");
    }

    void OnEnable()
    {
        Debug.Log("OnEnable()");
    }

    void OnDisable()
    {
        Debug.Log("OnDisable()");
    }

    void OnGUI()
    {
        Debug.Log("OnGUI()");
    }

    void Update()
    {
        Debug.Log("Update()");
    }

    void FixedUpdate()
    {
        Debug.Log("FixedUpdate()");
    }

    void LateUpdate()
    {
        Debug.Log("LateUpdate()");
    }

    void OnApplicationQuit()
    {
        Debug.Log("OnApplicationQuit()");
    }

    void OnDestroy()
    {
        Debug.Log("OnDestroy()");
    }
}