public void ChangePanel(int panelID) { OnChangePanel?.Invoke(panelID); }
public void SwitchToPanel(PanelType panel) { Debug.LogWarning(panel); currentPanel = panel; OnChangePanel?.Invoke(); }