Example #1
0
 private void OnDisable()
 {
     if (m_CurrentCamera == this)
     {
         m_CurrentCamera = null;
     }
 }
Example #2
0
 protected virtual void OnPostRender()
 {
     m_CurrentCamera = null;
 }
Example #3
0
 protected virtual void OnPreCull()
 {
     m_CurrentCamera        = this;
     sky.transform.position = m_CachedTransfrom.position;
 }