| | |
| | | [SerializeField] FunctionButton m_FairyGrabBoss; |
| | | [SerializeField] FunctionButton m_DogzDungeon; |
| | | [SerializeField] FunctionButton m_JadeDynastyBoss; |
| | | [SerializeField] FunctionButton m_AllianceBoss; |
| | | [SerializeField] FunctionButton m_RidingPetContention; |
| | | |
| | | [SerializeField] Transform m_NormalBottom; |
| | | |
| | | [SerializeField] Button m_Left; |
| | | [SerializeField] Button m_Right; |
| | |
| | | m_RidingPetContention.AddListener(ShowRidingPetContention); |
| | | m_FairyGrabBoss.AddListener(FairyGrabBoss); |
| | | m_JadeDynastyBoss.AddListener(JadeDynastyBoss); |
| | | m_AllianceBoss.AddListener(AllianceBoss); |
| | | m_Left.AddListener(ShowLastFunction); |
| | | m_Right.AddListener(ShowNextFunction); |
| | | m_Close.AddListener(CloseClick); |
| | |
| | | |
| | | private void ShowDemonJar() |
| | | { |
| | | CloseSubWindows(); |
| | | CloseSubWindows();
|
| | |
|
| | | m_NormalBottom.gameObject.SetActive(true); |
| | | |
| | | WindowCenter.Instance.Open<DemonJarWin>(); |
| | | functionOrder = m_DemonJar.order; |
| | | } |
| | |
| | | private void ShowDogzDungeon() |
| | | { |
| | | CloseSubWindows(); |
| | | |
| | | m_NormalBottom.gameObject.SetActive(true); |
| | | |
| | | WindowCenter.Instance.Open<DogzDungeonWin>(); |
| | | functionOrder = m_DogzDungeon.order; |
| | | } |
| | |
| | | functionOrder = m_JadeDynastyBoss.order;
|
| | | } |
| | | |
| | | private void AllianceBoss()
|
| | | {
|
| | | CloseSubWindows();
|
| | | WindowCenter.Instance.Open<AllianceBossEntranceWin>();
|
| | | functionOrder = m_AllianceBoss.order;
|
| | | } |
| | | |
| | | private void CloseSubWindows() |
| | | { |
| | | m_NormalBottom.gameObject.SetActive(false); |
| | | |
| | | var children = WindowConfig.Get().FindChildWindows("LootPreciousFrameWin"); |
| | | foreach (var window in children) |
| | | { |