private void ChangeBackgroundAndSkin() { var skinData = GetSkinById(NetworkCaller.Instance.PlayerData.SkinId); var unlockedBackgrounds = _backgroundSetting.GetUnlockedBackgrounds(); Debug.Log("Unlocked backgrounds: " + unlockedBackgrounds.Count); var unlockedBackgroundsCount = unlockedBackgrounds.Count; var backgroundData = unlockedBackgrounds[Random.Range(0, unlockedBackgroundsCount)]; _mainCharacter.SetModel(skinData.prefabModel); PlayerPrefsHelper.CountCharacterPlayTimes(skinData.id); StandardEvent.GameProgress.StartGame(skinData.id, backgroundData.id); _background = GameObject.Instantiate(backgroundData.prefabModel, _backgroundCanvas); _background.transform.localPosition = _backgroundPosition; }