public void EnterClearly() { Anim.Play("Creator_ShowWorkspace"); LeftCreatingPanel.SetActive(true); LeftMainPanel.SetActive(false); RightPanel.SetActive(true); RedLine.SetActive(true); Table.CleanBeforeInit(); Table.Initialize(); }
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(); }
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); } }