1
This commit is contained in:
@@ -103,7 +103,9 @@ namespace BITKit.UX
|
||||
|
||||
public void Entry(IUXPanel panel) => _entryQueue.Push(panel);
|
||||
public void Entry(string panelName) => _entryQueueByName.TryAdd(panelName);
|
||||
|
||||
public IUXPanel CurrentPanel => _currentPanel;
|
||||
public event Action<IUXPanel, IUXPanel> OnPanelChanged;
|
||||
|
||||
public void Return()
|
||||
{
|
||||
if(_windowEntryGroup.TryGetEntried(out _))
|
||||
@@ -124,6 +126,7 @@ namespace BITKit.UX
|
||||
|
||||
private void OnEntry(IUXPanel obj)
|
||||
{
|
||||
OnPanelChanged?.Invoke(_currentPanel,obj);
|
||||
_currentPanel = obj;
|
||||
}
|
||||
private void OnTick(float delta)
|
||||
|
Reference in New Issue
Block a user