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函数执行顺序
最新推荐文章于 2024-09-11 09:15:57 发布
667

被折叠的 条评论
为什么被折叠?



