| | |
| | | [SerializeField] FunctionButtonGroup m_FuncGroup;
|
| | | [SerializeField] FunctionButton m_AlchemyNormal;
|
| | | [SerializeField] FunctionButton m_AlchemyFairy;
|
| | | [SerializeField] FunctionButton m_AlchemyDrug;
|
| | | [SerializeField] Button m_Close;
|
| | | [SerializeField] Button m_Left;
|
| | | [SerializeField] Button m_Right;
|
| | |
| | | {
|
| | | m_AlchemyNormal.AddListener(ShowAlchemyNormal); |
| | | m_AlchemyFairy.AddListener(ShowAlchemyFairy); |
| | | m_AlchemyDrug.AddListener(ShowAlchemyDrug); |
| | | m_Left.AddListener(()=> |
| | | {
|
| | | m_FuncGroup.TriggerLast();
|
| | |
| | | functionOrder = m_AlchemyNormal.order;
|
| | | }
|
| | |
|
| | | private void ShowAlchemyDrug()
|
| | | {
|
| | | CloseSubWindows();
|
| | | WindowCenter.Instance.Open<AlchemyUseDrugWin>();
|
| | | functionOrder = m_AlchemyDrug.order;
|
| | | }
|
| | |
|
| | | private void CloseSubWindows()
|
| | | {
|
| | | var children = WindowConfig.Get().FindChildWindows("AlchemyBaseWin"); |