public void OnPointerEnter(PointerEventData eventData) { if (Augmentation == null) { return; } ExplainerPanel.ShowAugmentationHelp(Augmentation); }
public void OnPointerExit(PointerEventData eventData) { ExplainerPanel.Hide(); if (BattleScreenPrefab.CardMousedOver == this.LogicalCard) { BattleScreenPrefab.CardMousedOver = null; } }
public void OnPointerEnter(PointerEventData eventData) { if (this.CorrespondingAttribute == null) { return; } ExplainerPanel.ShowStatusEffectHelp(this.CorrespondingAttribute); }
public void OnPointerEnter(PointerEventData eventData) { if (CardTag == null) { return; } ExplainerPanel.ShowRawTextHelp(CardTag.Tooltip); }
public void OnPrefabEnter(PointerEventData eventData) { Debug.Log("Entered battle unit prefab; setting battle unit moused over"); BattleScreenPrefab.BattleUnitMousedOver = this.UnderlyingEntity; ExplainerPanel.ShowBattleUnitHelp(this); TooltipController.ShowTooltipForBattleUnitClass(this.UnderlyingEntity); TooltipController.GetComponent <TooltipTrigger>().enabled = true; }
public void OnPrefabExit(PointerEventData eventData) { Debug.Log("Exited battle unit prefab; unsetting battle unit moused over"); if (BattleScreenPrefab.BattleUnitMousedOver == this.UnderlyingEntity) { BattleScreenPrefab.BattleUnitMousedOver = null; } ExplainerPanel.Hide(); }
public void OnPointerEnter(PointerEventData eventData) { if (!TooltipsDisabled) { TooltipController.ShowTooltipForCard(LogicalCard); } ExplainerPanel.ShowCardHelp(this.LogicalCard); BattleScreenPrefab.CardMousedOver = this.LogicalCard; }
public void OnPointerExit(PointerEventData eventData) { ExplainerPanel.Hide(); }
public void OnPointerEnter(PointerEventData eventData) { ExplainerPanel.ShowRawTextHelp($"<color=white>{Offer.Card.Name}: </color><color=grey>{Offer.Card.DescriptionInner()}</color>"); }
public void OnPointerEnter(PointerEventData eventData) { ExplainerPanel.ShowPerkHelp(this.Perk); }
public void OnPointerEnter(PointerEventData eventData) { ExplainerPanel.ShowRawTextHelp($"<color=white>{ShopOffer.Augmentation.Name()}: </color><color=grey>{ShopOffer.Augmentation.Description()}</color>"); }