public void ButtonClicked(UIListPopup popup, ECardListButton button, Item card) { if (popup == modListPopup) { if (button == ECardListButton.BUTTON_LEFT) if ((card as LocalMod).enabled) loader.moveModUp ((LocalMod)card); else if (button == ECardListButton.BUTTON_RIGHT) if ((card as LocalMod).enabled) loader.moveModDown((LocalMod)card); } }
public void SetButtonHighlighted(ECardListButton button, bool highlighted) { switch (button) { case ECardListButton.BUTTON_LEFT: this.leftButtonHighlighted = highlighted; break; case ECardListButton.BUTTON_RIGHT: this.rightButtonHighlighted = highlighted; break; } }
public void SetButtonContent(ECardListButton button, GUIContent content) { switch (button) { case ECardListButton.BUTTON_LEFT: this.buttonLeftContent = content; break; case ECardListButton.BUTTON_RIGHT: this.buttonRightContent = content; break; } }
public void ButtonClicked(UIListPopup popup, ECardListButton button, Item card) { if (popup == modListPopup) { if (button == ECardListButton.BUTTON_LEFT) { if ((card as LocalMod).enabled) { loader.moveModUp((LocalMod)card); } else if (button == ECardListButton.BUTTON_RIGHT) { if ((card as LocalMod).enabled) { loader.moveModDown((LocalMod)card); } } } } }
public void ButtonClicked(UIListPopup popup, ECardListButton button, List<Item> selectedCards) { }
public void ButtonClicked(UIListPopup popup, ECardListButton button) { }
public void ButtonClicked(UIListPopup popup, ECardListButton button, List<Item> selectedCards, Item card) { this.ButtonClicked (popup, button, card); }
public void ButtonClicked(UIListPopup popup, ECardListButton button, List <Item> selectedCards, Item card) { this.ButtonClicked(popup, button, card); }
public void ButtonClicked(CardListPopup popup, ECardListButton button, List <Card> selectedCards) { }
//icardlistcallback public void ButtonClicked(CardListPopup popup, ECardListButton button) { }
public void ButtonClicked(CardListPopup popup, ECardListButton button, List<Card> selectedCards) { }