Example #1
0
        protected override void OnStart()
        {
            CurtainManager.CloseCurtain();
            base.OnStart();
            UserController.Instance.SendSimpleUserData();
            var actions = new[] { "gameLogo", "optionSwitch" };

            CurTwManager.SendActions(actions, new Dictionary <string, object>(), FreshHallModel, false);//,null,true,"gameLogo&optionsw");
        }
Example #2
0
 protected override void OnCreate()
 {
     base.OnCreate();
     CurtainManager.CloseCurtain();
     UserController.Instance.GetUserDateWithBackPack(OnBindBackDate);
     ShowPreviewListView();
     if (gameObject.activeInHierarchy)
     {
         StartCoroutine(OnShowActions.WaitExcuteCalls());
     }
     HallMainController.Instance.LaunchInStartEvent(LaunchEvent);
 }
Example #3
0
 protected override void OnShow(object o)
 {
     base.OnShow(o);
     CurtainManager.CloseCurtain();
     UserController.Instance.GetUserDateWithBackPack(OnBindBackDate);
     if (HallBg != null)
     {
         HallBg.Change(HallMainController.Instance.State);
     }
     ShowPreviewListView();
     StartCoroutine(YxTools.WaitExcuteCalls(OnShowActions));
 }
Example #4
0
        protected override void OnBindDate(bool isChange = false)
        {
            base.OnBindDate(isChange);
            var model = RoomListModel.Instance;

            if (model.RoomKind > 0)
            {
                ShowCreateRoom();
            }
            else
            {
                ShowFreeRoom();
            }
            CurtainManager.CloseCurtain();
        }
Example #5
0
 protected override void OnBindDate(bool isChange = false)
 {
     OnShowAllListItem();
     CurtainManager.CloseCurtain();
 }
Example #6
0
 protected override void OnShow(object o)
 {
     base.OnShow(o);
     CurtainManager.CloseCurtain();
 }
Example #7
0
 protected override void OnShow(object o)
 {
     base.OnShow(o);
     App.GameKey = App.HallName;
     CurtainManager.CloseCurtain();
 }