EditorPrefs.SetIntstatic function SetInt (key : string, value : int) : voidDescriptionSets the value of the preference identified by key.
EditorPrefs.SetInt("My Pref Value", 10);
|
|
||||
| Scripting > Editor Classes > EditorPrefs | ||||
EditorPrefs.SetIntstatic function SetInt (key : string, value : int) : voidDescriptionSets the value of the preference identified by key.
EditorPrefs.SetInt("My Pref Value", 10);
|