示例#1
0
 private void Step_08()
 {
     if (Globals.Instance.TutorialMgr.CurrentScene is GameUIMapReward)
     {
         this.mapReward = TutorialEntity.ConvertObject2UnityOrPrefab<GameUIMapReward>();
     }
     if (this.mapReward == null)
     {
         return;
     }
     base.InitGuideMask(new TutorialInitParams
     {
         MaskParent = this.mapReward.gameObject,
         TargetName = "winBG/group3/2",
         TargetParent = this.mapReward.gameObject,
         HandDirection = TutorialEntity.ETutorialHandDirection.ETHD_Right,
         HideGuideMask4Seconds = this.hideTime,
         Tips = Singleton<StringManager>.Instance.GetString("tutorial48")
     });
     UIEventListener expr_A8 = UIEventListener.Get(this.area.gameObject);
     expr_A8.onClick = (UIEventListener.VoidDelegate)Delegate.Combine(expr_A8.onClick, new UIEventListener.VoidDelegate(this.OnStep_08MaskAreaClick));
     TutorialEntity.SetNextTutorialStep(9, TutorialManager.ETutorialNum.Tutorial_Null, false, false, false);
     base.PlaySound("tutorial_038");
 }
示例#2
0
 private void Step_06(float time)
 {
     if (Globals.Instance.TutorialMgr.CurrentScene is GameUIMapReward)
     {
         this.mapReward = TutorialEntity.ConvertObject2UnityOrPrefab<GameUIMapReward>();
     }
     if (this.mapReward == null)
     {
         return;
     }
     base.InitGuideMask(new TutorialInitParams
     {
         MaskParent = this.mapReward.gameObject,
         TargetName = "winBG/group2/1",
         TargetParent = this.mapReward.gameObject,
         HandDirection = TutorialEntity.ETutorialHandDirection.ETHD_Right,
         HideGuideMask4Seconds = time
     });
     UIEventListener expr_8E = UIEventListener.Get(this.area.gameObject);
     expr_8E.onClick = (UIEventListener.VoidDelegate)Delegate.Combine(expr_8E.onClick, new UIEventListener.VoidDelegate(this.OnStep_06MaskAreaClick));
     TutorialEntity.SetNextTutorialStep(7, TutorialManager.ETutorialNum.Tutorial_Null, false, false, false);
 }