Example #1
0
 public void EnterClearly()
 {
     Anim.Play("Creator_ShowWorkspace");
     LeftCreatingPanel.SetActive(true);
     LeftMainPanel.SetActive(false);
     RightPanel.SetActive(true);
     RedLine.SetActive(true);
     Table.CleanBeforeInit();
     Table.Initialize();
 }
Example #2
0
        public void BackToLobby()
        {
            Anim.Play("Creator_HideWorkspace");
            LeftCreatingPanel.SetActive(false);
            LeftMainPanel.SetActive(true);
            RightPanel.SetActive(false);
            RedLine.SetActive(false);

            Table.IsActive       = false;
            LoadBtn.interactable = false;
            LoadList();
        }
Example #3
0
        public void EnterWithFile()
        {
            string fileName = FileButtons[CurrentListIndex].gameObject.GetComponentInChildren <Text>().text;

            if (Table.ReadFromTWx(CurrentFilePath, fileName.Substring(0, fileName.Length - 4)))
            {
                Anim.Play("Creator_ShowWorkspace");
                LeftCreatingPanel.SetActive(true);
                LeftMainPanel.SetActive(false);
                RightPanel.SetActive(true);
                RedLine.SetActive(true);
                Table.Initialize();
            }
            else
            {
                MessageBox.Show(LocaleManager.instance.GetLocaleText("error_occured"), LocaleManager.instance.GetLocaleText("creator_cannotload"), MessageBoxButton.OK);
            }
        }