public static void SetColor(string key, Color32 value) { uint value2 = (uint)((int)value.a << 24 | (int)value.r << 16 | (int)value.g << 8 | (int)value.b); PlayerPrefs.SetString(ObscuredPrefs.EncryptKey(key), ObscuredPrefs.EncryptColorValue(key, value2)); }
public static void SetColor(string key, Color32 value) { uint num = (uint)(value.a << 24 | value.r << 16 | value.g << 8 | value.b); PlayerPrefs.SetString(ObscuredPrefs.EncryptKey(key), ObscuredPrefs.EncryptColorValue(key, num)); }