Ejemplo n.º 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);
 }
Ejemplo n.º 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);
 }