Method | Description | |
---|---|---|
ClearPrefs ( ) : void | ||
GetBool ( string key, bool fallback = true ) : bool | ||
GetColor ( string key, Color fallback = default(Color) ) : Color | ||
GetFloat ( string key, float fallback = 1f ) : float | ||
GetGradient ( string key ) : Gradient | ||
GetInt ( string key, int fallback ) : int | ||
HasKey ( string key ) : bool | ||
SetBool ( string key, bool value ) : void | ||
SetColor ( string key, Color value ) : void | ||
SetFloat ( string key, float value ) : void | ||
SetGradient ( string key, Gradient gradient ) : void | ||
SetInt ( string key, int value ) : void | ||
VersionCheck ( ) : bool |
public static GetBool ( string key, bool fallback = true ) : bool | ||
key | string | |
fallback | bool | |
return | bool |
public static GetColor ( string key, Color fallback = default(Color) ) : Color | ||
key | string | |
fallback | Color | |
return | Color |
public static GetFloat ( string key, float fallback = 1f ) : float | ||
key | string | |
fallback | float | |
return | float |
public static GetGradient ( string key ) : Gradient | ||
key | string | |
return | Gradient |
public static GetInt ( string key, int fallback ) : int | ||
key | string | |
fallback | int | |
return | int |
public static SetBool ( string key, bool value ) : void | ||
key | string | |
value | bool | |
return | void |
public static SetColor ( string key, Color value ) : void | ||
key | string | |
value | Color | |
return | void |
public static SetFloat ( string key, float value ) : void | ||
key | string | |
value | float | |
return | void |
public static SetGradient ( string key, Gradient gradient ) : void | ||
key | string | |
gradient | Gradient | |
return | void |
public static SetInt ( string key, int value ) : void | ||
key | string | |
value | int | |
return | void |