Unity3D的杂记

刷新帧的不同控制函数

FixedUpdate

     可以多次调用;

     不饿能用于帧频很高的情况;

Update

      仅一次调用(每帧);

LateUpdate

       每帧调用一次;

Corountine

       用startCoroutine()在执行时间内会一直被调用;

OnGUI

       每帧被调用一次;

补充一下

     Trigger

     当两物体collider撞击时,产生相应反应,比如cutsenes,automatic door opening,displaying tutorial messages

原文地址:https://www.cnblogs.com/android-blogs/p/6022595.html