Example #1
0
 public void AddRankUpBtnUpEventListener(UnityAction <GameObject> callback)
 {
     if (this.OnRankUpBtnUpEvent == null)
     {
         this.OnRankUpBtnUpEvent = new AbilityDeriveList.OnListItemEvent();
     }
     this.OnRankUpBtnUpEvent.RemoveListener(callback);
     this.OnRankUpBtnUpEvent.AddListener(callback);
 }
Example #2
0
 public void AddDetailOpenEventListener(UnityAction <GameObject> callback)
 {
     if (this.OnDetailOpen == null)
     {
         this.OnDetailOpen = new AbilityDeriveList.OnListItemEvent();
     }
     this.OnDetailOpen.RemoveListener(callback);
     this.OnDetailOpen.AddListener(callback);
 }