Пример #1
0
 void Start()
 {
     GetReferences();
     m_buildingMenu.Show();
     m_uvMenu.Hide();
     CameraController.main.SetPerspective(45.0f);
 }
Пример #2
0
 public void ToggleUVTool()
 {
     m_uvTool.m_active      = !m_uvTool.m_active;
     m_meshManager.m_active = !m_uvTool.m_active;
     if (m_uvTool.m_active)
     {
         m_uvMenu.Show();
         m_buildingMenu.Hide();
     }
     else
     {
         m_uvMenu.Hide();
         m_buildingMenu.Show();
     }
 }