6959 子 【2.0】【开发】缥缈仙域单独成为主界面的功能入口 / 【2.0】【前端】缥缈仙域单独成为主界面的功能入口
| | |
| | | protected override void AddListeners()
|
| | | {
|
| | | base.AddListeners();
|
| | | SetFunctionListener(0, OpenHazyRegion);
|
| | | SetFunctionListener(1, ClickArenaFunc);
|
| | | SetFunctionListener(2, ClickBossFunc);
|
| | | SetFunctionListener(0, ClickArenaFunc);
|
| | | SetFunctionListener(1, ClickBossFunc);
|
| | | }
|
| | |
|
| | | private void ClickBossFunc()
|
| | |
| | | CloseSubWindows();
|
| | | WindowCenter.Instance.Open<CrossServerOneVsOneWin>();
|
| | | functionOrder = 2;
|
| | | }
|
| | |
|
| | | private void OpenHazyRegion()
|
| | | {
|
| | | CloseSubWindows();
|
| | | WindowCenter.Instance.Open<HazyRegionWin>();
|
| | | functionOrder = 0;
|
| | | }
|
| | | }
|
| | | }
|
| New file |
| | |
| | | //--------------------------------------------------------
|
| | | // [Author]: 第二世界
|
| | | // [ Date ]: Saturday, May 25, 2019
|
| | | //--------------------------------------------------------
|
| | |
|
| | | using System;
|
| | | using System.Collections;
|
| | | using System.Collections.Generic;
|
| | | using UnityEngine;
|
| | | using UnityEngine.UI;
|
| | |
|
| | | namespace Snxxz.UI
|
| | | {
|
| | |
|
| | | public class HazyRegionFrameWin : OneLevelWin
|
| | | {
|
| | | protected override void AddListeners() |
| | | {
|
| | | base.AddListeners();
|
| | |
|
| | | SetFunctionListener(0, OpenHazyRegion); |
| | | } |
| | |
|
| | | private void OpenHazyRegion() |
| | | { |
| | | CloseSubWindows(); |
| | | WindowCenter.Instance.Open<HazyRegionWin>(); |
| | | functionOrder = 0; |
| | | }
|
| | | }
|
| | | }
|
| | |
|
| | |
|
| | |
|
| | |
|
| New file |
| | |
| | | fileFormatVersion: 2 |
| | | guid: afb3e23423b172042a902f96a4e80e87 |
| | | timeCreated: 1558768550 |
| | | licenseType: Pro |
| | | MonoImporter: |
| | | serializedVersion: 2 |
| | | defaultReferences: [] |
| | | executionOrder: 0 |
| | | icon: {instanceID: 0} |
| | | userData: |
| | | assetBundleName: |
| | | assetBundleVariant: |
| | |
| | | }
|
| | | }
|
| | |
|
| | | public readonly Redpoint redpoint = new Redpoint(213, 21303);
|
| | | readonly Redpoint entranceRedpoint = new Redpoint(21303, 2130301);
|
| | | readonly Redpoint incidentRedpoint = new Redpoint(21303, 2130302);
|
| | | public readonly Redpoint redpointBase = new Redpoint(39);
|
| | | public readonly Redpoint redpoint = new Redpoint(39, 3901);
|
| | | readonly Redpoint entranceRedpoint = new Redpoint(3901, 390101);
|
| | | readonly Redpoint incidentRedpoint = new Redpoint(3901, 390102);
|
| | |
|
| | | int cacheMapId = 0;
|
| | |
|
| | |
| | | [SerializeField] Button m_CrossServerBtn;//跨服1V1按钮
|
| | | [SerializeField] Button m_OpenServiceBtn;//周狂欢按钮
|
| | | [SerializeField] Button m_NewYearBtn;//新年盛典
|
| | | [SerializeField] Button m_HazyRegion;
|
| | |
|
| | | private bool isNeedTip = true;
|
| | |
|
| | |
| | | m_CrossServerBtn.SetListener(OnClickCrossServerBtn);
|
| | | m_OpenServiceBtn.SetListener(OnClickOpenServiceBtn);
|
| | | m_NewYearBtn.SetListener(OnClickNewYearBtn);
|
| | | m_HazyRegion.SetListener(OpenHazyRegion);
|
| | | }
|
| | |
|
| | | public void Init()
|
| | |
| | | }
|
| | | }
|
| | |
|
| | | private void OpenHazyRegion()
|
| | | {
|
| | | WindowCenter.Instance.Close<MainInterfaceWin>();
|
| | | WindowCenter.Instance.Open<HazyRegionFrameWin>();
|
| | | }
|
| | |
|
| | | void OnClickOpenServiceBtn()
|
| | | {
|
| | | WindowCenter.Instance.Open<AchievementActivityWin>();
|
| | |
| | |
|
| | | public static int redpointIndex = 1;
|
| | |
|
| | | Redpoint treasureRedpoint = new Redpoint(TREASURE_REDPOINTID);
|
| | | Redpoint treasureRedpoint = new Redpoint(1, TREASURE_REDPOINTID);
|
| | | Redpoint humanRedpoint = new Redpoint(TREASURE_REDPOINTID, CATEGORY_REDPOINTIDS[(int)TreasureCategory.Human - 1]);
|
| | | Redpoint demonRedpoint = new Redpoint(TREASURE_REDPOINTID, CATEGORY_REDPOINTIDS[(int)TreasureCategory.Demon - 1]);
|
| | | Redpoint fairypoint = new Redpoint(TREASURE_REDPOINTID, CATEGORY_REDPOINTIDS[(int)TreasureCategory.Fairy - 1]);
|
| | |
| | | SetJumpLogic<AuctionHouseWin>(_tagWinSearchModel.TABID);
|
| | | break;
|
| | | case JumpUIType.HazyRegion:
|
| | | SetJumpLogic<CrossServerWin>(_tagWinSearchModel.TABID);
|
| | | SetJumpLogic<HazyRegionFrameWin>(_tagWinSearchModel.TABID);
|
| | | break;
|
| | | case JumpUIType.Alchemy1:
|
| | | case JumpUIType.Alchemy2:
|