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(); }
void Start() { Instance = this; }