Modular Database Upgrade
CultCache API can now be configured with multiple interchangeable backing stores. Will be using plain JSON in repository from now on.
This commit is contained in:
parent
00f752edf7
commit
85483319fe
158 changed files with 658 additions and 290 deletions
|
|
@ -44,8 +44,7 @@ public class DatabaseInspector : EditorWindow
|
|||
void OnEnable()
|
||||
{
|
||||
_instance = this;
|
||||
CultCache.OnDataUpdateLocal += _ => Repaint();
|
||||
CultCache.OnDataUpdateRemote += _ => EditorDispatcher.Dispatch(Repaint);
|
||||
CultCache.OnUpdate += (_,__) => EditorDispatcher.Dispatch(Repaint);
|
||||
wantsMouseMove = true;
|
||||
_warning = new GUIStyle(EditorStyles.boldLabel);
|
||||
_warning.normal.textColor = Color.red;
|
||||
|
|
|
|||
Loading…
Reference in a new issue