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