public void Clear()
 {
     StopAllCoroutines();
     ClearContent();
     choiceContainerView.Clear();
     contentManager.enabled = false;
     settingsButton.Hide();
     settingsView.Hide();
 }
Example #2
0
 private void Awake()
 {
     contentManager.enabled = false;
     settingsView.Hide();
     settingsButton.Hide();
     culture = PlayerPrefs.GetString("culture");
     Debug.Log(culture);
     if (culture == "austrian")
     {
         storyJSON = storyJSON_austria;
     }
     if (culture == "slovenian")
     {
         storyJSON = storyJSON_slovenia;
     }
     if (culture == "slovakian")
     {
         storyJSON = storyJSON_slovakia;
     }
 }
        public Client()
        {
            Debug.WriteLine(installing_path);
            InitializeComponent();
            CenterToScreen();
            MaximizeBox              = false;
            PanelOpacity.BackColor   = Color.FromArgb(125, Color.Black);
            SettingsButton.BackColor = Color.FromArgb(25, Color.Gray);
            LoginDim.BackColor       = Color.FromArgb(125, Color.Black);

            SettingsButton.Hide();
            LowerPB.Hide();
            BiggerPB.Hide();
            PlayButton.Hide();
            PlayImage.Hide();
            StatusBar.Hide();
            DiscordButton.Hide();
        }
 private void Awake()
 {
     contentManager.enabled = false;
     settingsView.Hide();
     settingsButton.Hide();
 }