private void OpenHistory(HistoryPanelLogicData history, PanelParamBase newPanelParam) { this.Open(history.Panel, newPanelParam); if (history.SecondPanel != null) { this.OpenHistory(history.SecondPanel); } }
private void OpenHistory(HistoryPanelLogicData history) { this.Open(history.Panel, history.PanelParam, PanelEffectType.OpenByCloseOther); if (history.SecondPanel != null) { this.OpenHistory(history.SecondPanel); } }
public void ClosePanel(HistoryPanelLogicData data) { if (data != null) { this.ClosePanel(data.Panel, PanelEffectType.CloseByOpenOther); this.ClosePanel(data.SecondPanel); } }
public void ChangeHistoryPanelParam(HistoryPanelLogicData secondPanel) { if (this.m_HistoryPanelStack.Count > 0) { HistoryPanelLogicData data = this.m_HistoryPanelStack.Pop(); data.SetSecondPanel(secondPanel); this.m_HistoryPanelStack.Push(data); } }
public void ChangeHistoryPanelParam(PanelParamBase param) { if (this.m_HistoryPanelStack.Count > 0) { HistoryPanelLogicData data = this.m_HistoryPanelStack.Pop(); data.SetPanelParam(param); this.m_HistoryPanelStack.Push(data); } }
public void SetSecondPanel(HistoryPanelLogicData data) { this.SecondPanel = data; }
public HistoryPanelLogicData(PanelType panel, PanelParamBase param, HistoryPanelLogicData secondPanel) { this.Panel = panel; this.SetPanelParam(param); this.SetSecondPanel(secondPanel); }
private void OpenHistory(HistoryPanelLogicData history) { this.Open(history.Panel,history.PanelParam,PanelEffectType.OpenByCloseOther); if (history.SecondPanel != null) { this.OpenHistory(history.SecondPanel); } }
public void RecordHistory(HistoryPanelLogicData history) { this.m_HistoryPanelStack.Push(history); }
public void ClosePanel(HistoryPanelLogicData data) { if (data != null) { this.ClosePanel(data.Panel,PanelEffectType.CloseByOpenOther); this.ClosePanel(data.SecondPanel); } }