Exemplo n.º 1
0
 public void CloneData(UGuideWidgetMsgData _cloneFrom)
 {
     this.nGuideID          = _cloneFrom.nGuideID;
     this.nGuideStepID      = _cloneFrom.nGuideStepID;
     this.nGuideEffectID    = _cloneFrom.nGuideEffectID;
     this.oUserData         = _cloneFrom.oUserData;
     this.bForeceGuide      = _cloneFrom.bForeceGuide;
     this.bAcceptClickEvent = _cloneFrom.bAcceptClickEvent;
 }
Exemplo n.º 2
0
 internal void RemoveExitBtnGuideUIWidget(UGuideWidgetMsgData _msgData)
 {
     if (ExitBtn != null)
     {
         Guide.UGuideWidget guideWidget = ExitBtn.gameObject.GetComponent <Guide.UGuideWidget>();
         if (guideWidget != null)
         {
             ExitBtn.gameObject.RemoveComponent <Guide.UGuideWidget>();
         }
     }
 }
Exemplo n.º 3
0
 public void RemoveGuideWidget(UGuideWidgetMsgData _msgData)
 {
     for (int i = 0; i < HeroTalentData.Count; ++i)
     {
         if (HeroTalentData[i].nTalentLevel == (int)_msgData.oUserData)
         {
             HeroTalentData[i].bUseGuideWidget = false;
             HeroTalentData[i].nGuideID        = _msgData.nGuideID;
             HeroTalentData[i].nGuideStepID    = _msgData.nGuideStepID;
             break;
         }
     }
 }
Exemplo n.º 4
0
 internal void AddExitBtnGuideUIWidget(UGuideWidgetMsgData _msgData)
 {
     if (ExitBtn != null)
     {
         Guide.UGuideWidget guideWidget = ExitBtn.gameObject.GetComponent <Guide.UGuideWidget>();
         if (guideWidget == null)
         {
             guideWidget = ExitBtn.gameObject.AddComponent <Guide.UGuideWidget>();
         }
         guideWidget.GuideID       = (GUIDE.EGuideNodeID)_msgData.nGuideID;
         guideWidget.GuideStepID   = _msgData.nGuideStepID;
         guideWidget.GuideEffectID = _msgData.nGuideEffectID;
     }
 }
Exemplo n.º 5
0
 public UGuideWidgetMsgData(UGuideWidgetMsgData _cloneFrom)
 {
     CloneData(_cloneFrom);
 }