Esempio n. 1
0
 public Transform GetMissionViewEffectPos()
 {
     if (PlayerManager.GetInstance().MajorPlayer.level >= 14)
     {
         return(MissionFollowListView.GetInstance().GetEffectPos());
     }
     else
     {
         return(MissionFollowView.GetInstance().GetEffectPos());
     }
 }
Esempio n. 2
0
        private object OnPlayerLevelUp(params object[] objs)
        {
            byte        level  = (byte)objs[0];
            MajorPlayer player = PlayerManager.GetInstance().MajorPlayer;

            player.levelCurrent = level;

            if (level >= 14)
            {
                MissionFollowView.GetInstance().DestroyObject();
                MissionFollowListView.GetInstance();
            }
            GiftHallView.GetInstance().UpdateUIOnDataChanged();
            return(null);
        }
Esempio n. 3
0
        public object OnInitSceneUI(params object[] objs)
        {
            //--------- menu begin--------------------------
            ButtonBarView.GetInstance().viewType = ViewType.Menu; //ShortcutView.GetInstance(); //old view

            CMDView.GetInstance().viewType      = ViewType.Menu;
            HitPanelView.GetInstance().viewType = ViewType.Menu;
            HeroMenuView.GetInstance().viewType = ViewType.Menu;   //HeadView.GetInstance();//old view
            MinMapView.GetInstance().viewType   = ViewType.Menu;

            if (PlayerManager.GetInstance().MajorPlayer.level >= 14)
            {
                MissionFollowListView.GetInstance().viewType = ViewType.Menu;
            }
            else
            {
                MissionFollowView.GetInstance().viewType = ViewType.Menu;
            }

            TopRightMenuView.GetInstance().viewType = ViewType.Menu;
            PveProcessView.GetInstance().viewType   = ViewType.Menu;
            //-----------menu end--------------------

            //-----------window begin-----------------
            PveView.GetInstance();
            PveQuitView.GetInstance();
            PveAutoFight.GetInstance();
            //-----------window end-------------------

            //----------Tip begin-----------
            PveFailView.GetInstance();
            ReliveView.GetInstance();
            //----------Tip end-------------


            return(null);
        }
Esempio n. 4
0
 public void HideProcess()
 {
     Hide();
     MissionFollowView.GetInstance().Show();
 }
Esempio n. 5
0
 public void ShowProcess()
 {
     base.viewGo.SetActive(true);
     MissionFollowView.GetInstance().Hide();
 }