Unity OnBecameVisible和OnBecameInvisible函数没用(进入不了、不响应、没反应)的缘由

看看Unity官网是怎么说的:OnBecameVisible is called when the renderer became visible by any camera.函数 这意味这挂了有OnBecameVisible或OnBecameInvisible脚本的物体必须有Renderer类型的组件这两个函数才起做用。blog 这样脚本PivotController里的这两个函数是不起做用的。
相关文章
相关标签/搜索