Ejemplo n.º 1
0
 public void OnPointerEnter(PointerEventData eventData)
 {
     if (onbattlefield == false)
     {
         battleUIManager.CardShowInfo(n);
         return;
     }
     if (onbattlefield == true)
     {
         battleUIManager.CardShowInfo(NumberCounter(n, battleUIManager.player));
     }
     if (onbattlefield == true && isenemycard == true)
     {
         battleUIManager.CardShowInfoEnemy(NumberCounter(n, battleUIManager.enemy));
     }
 }