예제 #1
0
 public void OnPointerEnter(PointerEventData eventData)
 {
     if (Augmentation == null)
     {
         return;
     }
     ExplainerPanel.ShowAugmentationHelp(Augmentation);
 }
예제 #2
0
 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);
 }
예제 #5
0
 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;
 }
예제 #6
0
 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();
 }
예제 #7
0
        public void OnPointerEnter(PointerEventData eventData)
        {
            if (!TooltipsDisabled)
            {
                TooltipController.ShowTooltipForCard(LogicalCard);
            }

            ExplainerPanel.ShowCardHelp(this.LogicalCard);
            BattleScreenPrefab.CardMousedOver = this.LogicalCard;
        }
예제 #8
0
 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);
 }
예제 #11
0
 public void OnPointerEnter(PointerEventData eventData)
 {
     ExplainerPanel.ShowRawTextHelp($"<color=white>{ShopOffer.Augmentation.Name()}:  </color><color=grey>{ShopOffer.Augmentation.Description()}</color>");
 }