ITeye博客

Renderer.OnBecameVisible

whuthj · 2011-05-11 18:42 · Unity3D · 互联网 · Markdown

Renderer.OnBecameVisible
Renderer.OnBecameInvisible

容易遗忘的两事件

例子:

// Enables the behaviour when it is visible
function OnBecameVisible() {
enabled = true;
}

 
当在摄影机视线内/视线外 时候触发此事件

评论(0)

暂无评论。

评论功能维护中,当前仅展示历史评论。