Documentation: Updated README.md and added a small demo gif

This commit is contained in:
Anders Ejlersen 2025-06-22 09:50:41 +02:00
parent f1e33f5e6b
commit 5f37c59a79
7 changed files with 168 additions and 23 deletions

View file

@ -10,7 +10,13 @@ namespace Module.UIToolkit.Editor
public bool collectionViewDisableMaxHeight = true;
private static Settings _settings;
internal void Save()
{
var json = JsonUtility.ToJson(this);
EditorPrefs.SetString(nameof(Settings), json);
}
internal static Settings Load()
{
if (_settings != null)
@ -24,11 +30,5 @@ namespace Module.UIToolkit.Editor
return _settings;
}
internal void Save()
{
var json = JsonUtility.ToJson(this);
EditorPrefs.SetString(nameof(Settings), json);
}
}
}