Ejemplo n.º 1
0
 // Update is called once per frame
 public void Update()
 {
     if (m_layerManager != null)
     {
         m_showAllLayersButton.interactable = m_layerManager != null && !m_layerManager.AreAllLayersVisible();
         m_hideAllLayersButton.interactable = m_layerManager != null && !m_layerManager.AreAllLayersInvisible();
     }
     else
     {
         m_showAllLayersButton.interactable = false;
         m_hideAllLayersButton.interactable = false;
     }
 }