找回密碼
 注冊帳號

掃一掃,訪問微社區

animation.animateonlyifvisible 可見時動畫

2014-12-31 01:22| 發布者: 楊炎| 查看: 1855| 評論: 0|原作者: 蠻牛|來自: unity3d腳本manual

摘要: animation.animateonlyifvisible 可見時動畫varanimateonlyifvisible: booldescription描述when turned on, unity might stop animating if it thinks that the results of the animation won't be visible to the u ...

animation.animateonlyifvisible 可見時動畫

varanimateonlyifvisible: bool

description描述

when turned on, unity might stop animating if it thinks that the results of the animation won't be visible to the user.

如果打開這個選項,unity可能在它認為用戶不會看到當前動畫的時候停止播放。

this could save you some performance if you have things animating outside of the viewport, whose animation is only important when the user can actually see the thing that is being animated.

當你有一些動畫在視口之外播放的時候,這個選項可以幫助你節省一些性能,比如那些只有在用戶實際上看得見的物體做動畫的時候。

文章點評
女校游泳队彩金