| | |
| | | [SerializeField] TeamInvitationEntrance m_TeamInvitationEntrance;
|
| | | [SerializeField] FairyCallMemberBehaviour m_FairyCallBehaviour;
|
| | | [SerializeField] MapSwitchingBehaviour m_MapSwitchingBehaviour;
|
| | |
|
| | | [SerializeField] Transform CopyOfThePanel;
|
| | | [SerializeField] DungeonBossBriefInfoContainer m_BossBriefInfos;
|
| | | [SerializeField] AnimationFadeOut m_AnimationFadeOut;
|
| | |
|
| | | [SerializeField] IntensifySmoothSlider _ExpSlider;//经验条
|
| | | [SerializeField] Button _DownButton;//查看经验数值
|
| | | [SerializeField] Text _ExpRate;//数值
|
| | | [SerializeField] UIEffect m_UIEffect_A;//经验特效
|
| | | [SerializeField] UIEffect m_UIEffect_B;//经验特效
|
| | | private float ExpValueFloat = 0;
|
| | | private bool SliderOpen = true;
|
| | | public static bool recordPositionBool = true;
|
| | | [SerializeField] GameObject m_TaskAndTeamTip;
|
| | |
|
| | | [SerializeField] Button _SwitchShowBtn;//切换按钮
|
| | | [SerializeField] Button m_TaskSwithButton;//关于功能预告
|
| | | [SerializeField] Transform m_EffectTask;//任务完成特效播放位置
|
| | | private bool TaskSwithBool = true;
|
| | | [SerializeField] Button _SwitchShowBtn;//切换按钮
|
| | | [SerializeField] AnimationFadeOut m_AnimationFadeOut;
|
| | | [SerializeField] Transform CopyOfThePanel; |
| | | [SerializeField] GameObject m_TaskAndTeamTip;
|
| | | [SerializeField] GameObject m_MailObj;//邮件显隐
|
| | | [SerializeField] ClickScreenOtherSpace _MarkRay;//便捷切换按钮
|
| | |
|
| | | [SerializeField] MainPositionTween m_MainPositionTween;
|
| | | [SerializeField] MainButtonMisc m_MainButtonMisc;
|
| | | #region
|
| | | private bool TaskSwithBool = true;
|
| | | private float ExpValueFloat = 0;
|
| | | private bool SliderOpen = true;
|
| | | public static bool recordPositionBool = true;
|
| | | private int mapId = 0;
|
| | | public static event Action Event_ChatCallback;
|
| | | public static event Action<bool, float> Event_Duplicates;
|
| | |
| | | WindowCenter.Instance.Close<PathfindingIconWin>();
|
| | | }
|
| | | }
|
| | |
|
| | | private void CompletionOfTaskEvent(int obj)
|
| | | {
|
| | | EffectMgr.Instance.PlayUIEffect(1100, 1100, m_EffectTask, false);
|
| | | }
|
| | | |
| | | protected override void OnAfterClose()
|
| | | {
|
| | |
|
| | | }
|
| | | #endregion
|
| | | private void CompletionOfTaskEvent(int obj)
|
| | | {
|
| | | EffectMgr.Instance.PlayUIEffect(1100, 1100, m_EffectTask, false);
|
| | | }
|
| | |
|
| | | private void secondEvent()
|
| | | {
|
| | | SetAtkType();
|
| | |
| | | UnFlodFunctionArea(true, 0);
|
| | | }
|
| | | }
|
| | |
|
| | | private void OnGuideBegin()//引导开始
|
| | | {
|
| | | if (!m_MainPositionTween.IsTaskAndPanelShow)
|
| | |
| | | }
|
| | | if (!onMainModel.ShieldedArea.Contains(PlayerDatas.Instance.baseData.MapID))//前四只Boss和活动Boss特殊处理
|
| | | {
|
| | |
|
| | | }
|
| | | else
|
| | | {
|
| | | if (IsBossBool && atkInt.Length > 1 && Buffmodel.PkType != 5)
|
| | | {
|
| | | onMainModel.AreaState = Buffmodel.PkType;
|
| | | DTCA202_tagMCAttackMode.Send_SwitchAttackMode((E_AttackMode)5);
|
| | | }
|
| | | }
|
| | |
|
| | | }
|
| | |
|
| | | private void SetAtkType()//逍遥城非boss区域特殊处理
|
| | |
| | | }
|
| | | }
|
| | | }
|
| | | |
| | | |
| | | |
| | | public void MarkRayButton()
|
| | | {
|
| | | if (NewBieCenter.Instance.inGuiding)
|
| | |
| | | m_MainPositionTween.SetSkillTipOrRightTipPosTween(true);
|
| | | }
|
| | | }
|
| | |
|
| | | void DownButton(GameObject go)
|
| | | {
|
| | | _ExpRate.gameObject.SetActive(true);
|
| | | }
|
| | |
|
| | | void UpButton(GameObject go)
|
| | | {
|
| | | _ExpRate.gameObject.SetActive(false);
|
| | |
| | | IsCrossServerOneVsOne();
|
| | | }
|
| | | }
|
| | | #endregion
|
| | | |
| | |
|
| | | private bool IsDungeon()
|
| | | {
|
| | |
| | | recordPositionBool = false;
|
| | | _MarkRay.gameObject.SetActive(true);
|
| | | }
|
| | |
|
| | | private void ShowCastSkill()//显示技能组,隐藏按钮组(强制切换)
|
| | | {
|
| | | m_MainPositionTween.SetSkillTipOrRightTipPos(true);
|
| | |
| | | m_TaskSwithButton.gameObject.SetActive(true);
|
| | | }
|
| | | }
|
| | |
|
| | | private void bossGrabHintEvent()
|
| | | {
|
| | | IsShowTaskPanel();
|
| | | AtkTypeChange();
|
| | | }
|
| | |
|
| | | private void IsCrossServerOneVsOne()
|
| | | {
|
| | | if (CrossServerUtility.IsCrossServerOneVsOne())//是否再跨服副本中
|
| | |
| | | }
|
| | | }
|
| | | }
|
| | |
|
| | | private void SetTipPanelOrBossList(bool _bool, bool _isTween)//顶层按钮组和boss列表的相互切换
|
| | | {
|
| | | var inDungeon = IsDungeon();
|