Пример #1
0
 private void LoadData()
 {
     _randomColorOnStart = PlayerPrefsUtils.GetBool(RandomColorKey, true);
     _ballColor          = PlayerPrefsUtils.GetColor(ColorKey, Color.white);
     _bestScore          = PlayerPrefs.GetInt(BestScoreKey, 0);
     _controlType        = PlayerPrefsUtils.GetEnum(ControlTypeKey, ControlType.ControlPanels);
 }