2using System.Collections.Generic;
5static class ItemIDsSettingsIMGUIRegister
8 public static SettingsProvider CreateMyCustomSettingsProvider()
12 var provider =
new SettingsProvider(
"Project/ItemIDsSettings", SettingsScope.Project)
18 guiHandler = (searchContext) =>
20 var settings = ItemIDsSettings.GetSerializedSettings();
21 EditorGUILayout.PropertyField(settings.FindProperty(
"itemIds"));
23 settings.ApplyModifiedProperties();
24 EditorUtility.SetDirty(settings.targetObject);
28 keywords =
new HashSet<string>(
new[] {
"Items",
"Names"})