private void OnDisable() { if (m_CurrentCamera == this) { m_CurrentCamera = null; } }
protected virtual void OnPostRender() { m_CurrentCamera = null; }
protected virtual void OnPreCull() { m_CurrentCamera = this; sky.transform.position = m_CachedTransfrom.position; }