コード例 #1
0
 private void OnMax()
 {
     if (this.mCacheExpItemList == null || this.mCacheExpItemList.Count < 0)
     {
         return;
     }
     for (int index = 0; index < this.mItems.Count; ++index)
     {
         ArtifactLevelUpListItem component = (ArtifactLevelUpListItem)this.mItems[index].GetComponent <ArtifactLevelUpListItem>();
         if (UnityEngine.Object.op_Inequality((UnityEngine.Object)component, (UnityEngine.Object)null))
         {
             component.Reset();
         }
     }
     this.CalcCanArtifactLevelUpMax();
 }
コード例 #2
0
 private void OnCancel()
 {
     if (this.mSelectExpItems.Count <= 0)
     {
         return;
     }
     for (int index = 0; index < this.mItems.Count; ++index)
     {
         ArtifactLevelUpListItem component = (ArtifactLevelUpListItem)this.mItems[index].GetComponent <ArtifactLevelUpListItem>();
         if (UnityEngine.Object.op_Inequality((UnityEngine.Object)component, (UnityEngine.Object)null))
         {
             component.Reset();
         }
     }
     this.mSelectExpItems.Clear();
     this.RefreshFinishedStatus();
 }