PlayerPrefsUtil.SetBool C# (CSharp) Метод

SetBool() публичный статический Метод

public static SetBool ( string key, bool value ) : void
key string
value bool
Результат void
	public static void SetBool (string key, bool value) {
		PlayerPrefs.SetInt(
			key, 
			BoolToInt(value)
		);
	}

Usage Example

Пример #1
0
 static void ToggleMute(string key, bool value)
 {
     PlayerPrefsUtil.SetBool(
         key,
         value
         );
 }
All Usage Examples Of PlayerPrefsUtil::SetBool