Exemplo n.º 1
0
 public static void ShowThis(ItemDataEx data, GUIEquipInfoPopUp.EIPT type, int selectIndex = -1, bool showCreateAnim = false, bool isLocal = true)
 {
     if (data == null)
     {
         global::Debug.LogError(new object[]
         {
             "ItemDataEx is null"
         });
         return;
     }
     GUIEquipInfoPopUp.mData = data;
     GUIEquipInfoPopUp.mType = type;
     GUIEquipInfoPopUp.mCurSelectIndex = selectIndex;
     GUIEquipInfoPopUp.IsLocal = isLocal;
     if (showCreateAnim)
     {
         GameUIPopupManager.GetInstance().PushState(GameUIPopupManager.eSTATE.GUIEquipInfoPopUp, false, new GameUIPopupManager.PopClosedCallback(GUIEquipInfoPopUp.PlayCreate), null);
         GUIEquipInfoPopUp gUIEquipInfoPopUp = GameUIPopupManager.GetInstance().GetCurrentPopup() as GUIEquipInfoPopUp;
         GameUIPopupManager.GetInstance().GetCurrentPopup().InitPopUp();
         gUIEquipInfoPopUp.mCommonEquipInfoLayer.mEquipIconItem.gameObject.SetActive(false);
     }
     else
     {
         GameUIPopupManager.GetInstance().PushState(GameUIPopupManager.eSTATE.GUIEquipInfoPopUp, false, null, null);
         GameUIPopupManager.GetInstance().GetCurrentPopup().InitPopUp();
     }
 }
Exemplo n.º 2
0
 private void Step_06()
 {
     if (Globals.Instance.TutorialMgr.CurrentScene is GUIEquipInfoPopUp)
     {
         this.equipInfoPopUp = TutorialEntity.ConvertObject2UnityOrPrefab<GUIEquipInfoPopUp>();
     }
     if (this.equipInfoPopUp == null)
     {
         return;
     }
     base.HideFadeBG();
     base.InitGuideMask(new TutorialInitParams
     {
         MaskParent = this.equipInfoPopUp.gameObject,
         TargetName = "CloseBtn",
         TargetParent = this.equipInfoPopUp.gameObject,
         HandDirection = TutorialEntity.ETutorialHandDirection.ETHD_Right,
         Tips = Singleton<StringManager>.Instance.GetString("tutorial22")
     });
     UIEventListener expr_A2 = UIEventListener.Get(this.area.gameObject);
     expr_A2.onClick = (UIEventListener.VoidDelegate)Delegate.Combine(expr_A2.onClick, new UIEventListener.VoidDelegate(this.OnStep_06MaskAreaClick));
     TutorialEntity.SetNextTutorialStep(7, TutorialManager.ETutorialNum.Tutorial_Null, false, false, false);
 }
Exemplo n.º 3
0
 private void Step_10()
 {
     if (Globals.Instance.TutorialMgr.CurrentScene is GUIEquipInfoPopUp)
     {
         this.equipInfoPopUp = TutorialEntity.ConvertObject2UnityOrPrefab<GUIEquipInfoPopUp>();
     }
     if (this.equipInfoPopUp == null)
     {
         return;
     }
     base.InitGuideMask(new TutorialInitParams
     {
         MaskParent = this.equipInfoPopUp.gameObject,
         TargetName = "ButtonGroup/Enhance",
         TargetParent = this.equipInfoPopUp.gameObject,
         HandDirection = TutorialEntity.ETutorialHandDirection.ETHD_RightDown,
         Tips = Singleton<StringManager>.Instance.GetString("tutorialEquip1")
     });
     UIEventListener expr_9C = UIEventListener.Get(this.area.gameObject);
     expr_9C.onClick = (UIEventListener.VoidDelegate)Delegate.Combine(expr_9C.onClick, new UIEventListener.VoidDelegate(this.OnStep_10MaskAreaClick));
     TutorialEntity.SetNextTutorialStep(11, TutorialManager.ETutorialNum.Tutorial_Null, false, false, false);
     base.PlaySound("tutorial_054");
 }
Exemplo n.º 4
0
 public virtual void InitPopUp(ItemDataEx data, GUIEquipInfoPopUp.EIPT type, int index)
 {
 }