unity函数执行顺序
2013-07-03 16:24
246 查看
using UnityEngine; using System.Collections; public class Order : MonoBehaviour { void Awake() { print ("Awake"); } // Use this for initialization void Start () { print ("Start"); } void OnEnable() { print ("OnEnable"); } // Update is called once per frame void Update () { print ("Update"); } void LateUpdate() { print ("LateUpdate"); } void FixedUpdate() { print ("FixedUpdate"); } void OnGUI() { print ("OnGUI"); Destroy(gameObject); } void OnDisable() { print ("OnDisable"); } void OnDestroy() { print ("OnDestroy"); } void Reset() { print ("Reset"); } }
相关文章推荐
- unity中几个系统自带的函数的执行顺序
- unity脚本自带函数执行顺序
- 【Unity】MonoBehavior事件函数的执行顺序(监听调用顺序)
- Unity脚本自带函数的执行顺序
- [unity3d]unity中几个系统自带的函数的执行顺序
- [置顶] unity中事件函数的执行顺序【超详细,图+文】
- Unity脚本生命周期, Unity脚本函数执行流程与顺序
- [unity3d]unity中几个系统自带的函数的执行顺序
- Unity各个函数的执行顺序
- unity脚本自带函数执行顺序
- unity脚本自带函数执行顺序
- Unity中自带时间函数的执行顺序(全部完整版)
- Unity初始化函数以及退出函数的执行顺序
- unity 事件函数执行顺序
- Unity事件函数的执行顺序 例如:Awake()/OnEnable()/Start()/FixedUpdate()/Update()/等
- unity脚本自带函数执行顺序
- Tip8:Unity中诸如 Awake() Start() Update()等函数的 执行顺序
- unity日常——函数执行顺序
- Unity 脚步 事件函数 的执行顺序
- unity-----函数执行顺序