Beispiel #1
0
        public void ShopRelease()
        {
            GameIsPaused = true;

            OnGamePause?.Invoke(GameIsPaused);

            StartPlatform.SetActive(false);
            MainMenu.SetActive(false);

            SetComponentsFromPlayerActive(false);


            PlayButton.SetActive(false);
            SwipeToPlay.SetActive(false);

            EnviromentAct.Instance.GameIsStarted = false;
            ShopPanel.SetActive(true);


            foreach (Skin skin in Skins.skins)
            {
                skin.Initialize();
            }
            Skins.Blue.bought = true;
            ListOfSkins.LoadBoughtSkins();
        }
Beispiel #2
0
 void Start()
 {
     Instance = this;
 }