void OnWillRenderObject()
 {
     PostProcessMgr.OnVisiable(gameObject, true);
 }
 void OnBecameInvisible()
 {
     PostProcessMgr.OnVisiable(gameObject, false);
 }
Exemplo n.º 3
0
 void LateUpdate()
 {
     PostProcessMgr.OnVisiable(gameObject, true);
 }
 void OnBecameVisible()
 {
     PostProcessMgr.OnVisiable(gameObject, true);
 }