EditorPreferences Class

Definition

Convenience class for setting Editor Preferences with Application.productName as key prefix.

C++
public ref class EditorPreferences abstract sealed
Inheritance
EditorPreferences

Methods

Get(String, Boolean)

Get the saved Boolean from the EditorPrefs.

Get(String, Int32)

Get the saved Int32 from the EditorPrefs.

Get(String, Single)

Get the saved Single from the EditorPrefs.

Get(String, String)

Get the saved String from theEditorPrefs.

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.

Applies to

Produkt Verzie
MRTK2 Unity 2018 2.5.0, 2.5.1, 2.5.2, 2.5.3, 2.5.4, 2.6.0, 2.7.0
MRTK2 Unity 2019 2.5.0, 2.5.1, 2.5.2, 2.5.3, 2.5.4, 2.6.0, 2.7.0, 2.8.0
MRTK2 Unity 2020 2.5.2, 2.5.3, 2.5.4, 2.6.0, 2.7.0, 2.8.0