Editar

Compartir a través de


EditorPreferences.Set Method

Definition

Overloads

Set(String, Boolean)

Set the saved Boolean from to EditorPrefs.

Set(String, Int32)

Set the saved Int32 from theEditorPrefs.

Set(String, Single)

Set the saved Single from the EditorPrefs.

Set(String, String)

Set the saved String from to EditorPrefs.

Set(String, Boolean)

Set the saved Boolean from to EditorPrefs.

public:
 static void Set(System::String ^ key, bool value);
public static void Set (string key, bool value);
static member Set : string * bool -> unit
Public Shared Sub Set (key As String, value As Boolean)

Parameters

key
String
value
Boolean

Applies to

Set(String, Int32)

Set the saved Int32 from theEditorPrefs.

public:
 static void Set(System::String ^ key, int value);
public static void Set (string key, int value);
static member Set : string * int -> unit
Public Shared Sub Set (key As String, value As Integer)

Parameters

key
String
value
Int32

Applies to

Set(String, Single)

Set the saved Single from the EditorPrefs.

public:
 static void Set(System::String ^ key, float value);
public static void Set (string key, float value);
static member Set : string * single -> unit
Public Shared Sub Set (key As String, value As Single)

Parameters

key
String
value
Single

Applies to

Set(String, String)

Set the saved String from to EditorPrefs.

public:
 static void Set(System::String ^ key, System::String ^ value);
public static void Set (string key, string value);
static member Set : string * string -> unit
Public Shared Sub Set (key As String, value As String)

Parameters

key
String
value
String

Applies to