Renderer.OnBecameVisible
Renderer.OnBecameVisible
Renderer.OnBecameInvisible
容易遗忘的两事件
例子:
// Enables the behaviour when it is visible
function OnBecameVisible() {
enabled = true;
}
当在摄影机视线内/视线外 时候触发此事件
Renderer.OnBecameVisible
Renderer.OnBecameInvisible
容易遗忘的两事件
例子:
// Enables the behaviour when it is visible
function OnBecameVisible() {
enabled = true;
}
当在摄影机视线内/视线外 时候触发此事件
暂无评论。
评论功能维护中,当前仅展示历史评论。