Some progress on inspector rewrites, most of the framework figured out now.

This commit is contained in:
Sinai
2021-04-27 21:22:48 +10:00
parent 07ddba3c3d
commit a2ff37e36d
25 changed files with 1197 additions and 323 deletions

View File

@ -15,13 +15,13 @@ namespace UnityExplorer.UI.Widgets
public Action<int> OnClick;
public int CurrentDataIndex;
public GameObject UIRoot => uiRoot;
public GameObject uiRoot;
public ButtonRef Button;
#region ICell
public GameObject UIRoot => uiRoot;
public GameObject uiRoot;
public bool Enabled => m_enabled;
private bool m_enabled;
@ -69,7 +69,7 @@ namespace UnityExplorer.UI.Widgets
Button.OnClick += () => { OnClick?.Invoke(CurrentDataIndex); };
return m_rect.gameObject;
return uiRoot;
}
}
}