EditorPrefs.GetFloatstatic function GetFloat (key : string, defaultValue : float = 0.0F) : floatDescriptionReturns the value corresponding to key in the preference file if it exists. If it doesn't exist, it will return defaultValue. print (EditorPrefs.GetFloat("My Pref Value"));
|
