You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: Assets/UXF/Scripts/Etc/Settings.cs
+64-8Lines changed: 64 additions & 8 deletions
Original file line number
Diff line number
Diff line change
@@ -116,65 +116,121 @@ public void SetParent(ISettingsContainer parent)
116
116
117
117
/// <summary>
118
118
/// Get a boolean list setting value. If it is not found, the request will cascade upwards in each parent setting until one is found.
119
+
/// If the setting references a setting stored in the settings json file, a copy of the list will be returned. If it is a setting created with settings.SetValue(...), the original reference will be returned.
119
120
/// </summary>
120
121
/// <param name="key">The key (name) of the setting.</param>
/// Get a integer list setting value. If it is not found, the request will cascade upwards in each parent setting until one is found.
136
+
/// If the setting references a setting stored in the settings json file, a copy of the list will be returned. If it is a setting created with settings.SetValue(...), the original reference will be returned.
128
137
/// </summary>
129
138
/// <param name="key">The key (name) of the setting.</param>
/// Get a float list setting value. If it is not found, the request will cascade upwards in each parent setting until one is found.
153
+
/// If the setting references a setting stored in the settings json file, a copy of the list will be returned. If it is a setting created with settings.SetValue(...), the original reference will be returned.
137
154
/// </summary>
138
155
/// <param name="key">The key (name) of the setting.</param>
/// Get a long list setting value. If it is not found, the request will cascade upwards in each parent setting until one is found.
170
+
/// If the setting references a setting stored in the settings json file, a copy of the list will be returned. If it is a setting created with settings.SetValue(...), the original reference will be returned.
146
171
/// </summary>
147
172
/// <param name="key">The key (name) of the setting.</param>
/// Get a double list setting value. If it is not found, the request will cascade upwards in each parent setting until one is found.
187
+
/// If the setting references a setting stored in the settings json file, a copy of the list will be returned. If it is a setting created with settings.SetValue(...), the original reference will be returned.
155
188
/// </summary>
156
189
/// <param name="key">The key (name) of the setting.</param>
/// Get a string list setting value. If it is not found, the request will cascade upwards in each parent setting until one is found.
204
+
/// If the setting references a setting stored in the settings json file, a copy of the list will be returned. If it is a setting created with settings.SetValue(...), the original reference will be returned.
164
205
/// </summary>
165
206
/// <param name="key">The key (name) of the setting.</param>
/// Get a dictionary list setting value. If it is not found, the request will cascade upwards in each parent setting until one is found.
220
+
/// Get a Dictionary<string, object> list setting value. If it is not found, the request will cascade upwards in each parent setting until one is found.
221
+
/// If the setting references a setting stored in the settings json file, a copy of the list will be returned. If it is a setting created with settings.SetValue(...), the original reference will be returned.
173
222
/// </summary>
174
223
/// <param name="key">The key (name) of the setting.</param>
0 commit comments