Unity3d之MonoBehaviour的可重写函数整理
摘要:Update当MonoBehaviour启用时,其Update在每一帧被调用。LateUpdate当Behaviour启用时,其LateUpdate在每一帧被调用。FixedUpdate当MonoBehaviour启用时,其 FixedUpdate 在每一帧被调用。Awake当一个脚本实例被载入时Awake被调用。StartStart仅在Update函数第一次被调用前调用。Reset重置为默认值。OnMouseEnter当鼠标进入到GUIElement(GUI元素)或Collider(碰撞体)中时调用OnMouseEnter。OnMouseOver当鼠标悬浮在GUIElement(GUI元素)
阅读全文
posted @ 2013-05-07 10:57
浙公网安备 33010602011771号