Пример #1
0
 public static void SetColorPack(ColorPackType newType)
 {
     if (instance)
     {
         instance.internalSetColorPack(newType);
     }
 }
Пример #2
0
    private void internalSetColorPack(ColorPackType newType)
    {
        colorPackIndex = (int)newType;

        PlayerPrefs.SetInt(colorPackIndexString, colorPackIndex);
    }