Unity3D的杂记

刷新帧的不同控制函数

FixedUpdate

     可以多次调用;

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

Update

      仅一次调用(每帧);

LateUpdate

       每帧调用一次;

Corountine

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

OnGUI

       每帧被调用一次;

补充一下

     Trigger

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

posted on 2016-11-02 13:16  Sun‘刺眼的博客  阅读(193)  评论(0编辑  收藏  举报

导航