コード例 #1
0
 private static void setEditorSetting(QHierarchySetting setting, float value)
 {
     EditorPrefs.SetFloat(PREFS_PREFIX + setting.ToString("G"), value);
 }
コード例 #2
0
 private static void setEditorSetting(QHierarchySetting setting, bool value)
 {
     EditorPrefs.SetBool(PREFS_PREFIX + setting.ToString("G"), value);
 }
コード例 #3
0
 private static string getEditorSetting(QHierarchySetting setting, string defaultValue)
 {
     return(EditorPrefs.GetString(PREFS_PREFIX + setting.ToString("G"), defaultValue));
 }
コード例 #4
0
 private static float getEditorSetting(QHierarchySetting setting, float defaultValue)
 {
     return(EditorPrefs.GetFloat(PREFS_PREFIX + setting.ToString("G"), defaultValue));
 }
コード例 #5
0
 private static bool getEditorSetting(QHierarchySetting setting, bool defaultValue)
 {
     return(EditorPrefs.GetBool(PREFS_PREFIX + setting.ToString("G"), defaultValue));
 }