Пример #1
0
 public void Open(bool saveMode)
 {
     m_SaveMode = saveMode;
     if (m_SaveMode)
     {
         if (menuLabel)
         {
             menuLabel.text = "Save Map";
         }
         if (actionButtonLabel)
         {
             actionButtonLabel.text = "Save";
         }
     }
     else
     {
         if (menuLabel)
         {
             menuLabel.text = "Load Map";
         }
         if (actionButtonLabel)
         {
             actionButtonLabel.text = "Load";
         }
     }
     FillList();
     gameObject.SetActive(true);
     if (hexMapCamera)
     {
         hexMapCamera.Lock();
     }
 }
Пример #2
0
 public void Open()
 {
     if (hexMapCamera)
     {
         hexMapCamera.Lock();
     }
     gameObject.SetActive(true);
 }