public static SetBool ( string key, bool value ) : void | ||
key | string | |
value | bool | |
return | void |
public static void SetBool (string key, bool value) {
PlayerPrefs.SetInt(
key,
BoolToInt(value)
);
}
static void ToggleMute(string key, bool value) { PlayerPrefsUtil.SetBool( key, value ); }