Ejemplo n.º 1
0
 void OnMouseExit()
 {
     hideText();
     if (mySlot != null)
     {
         gc.mouseExitSlotFunc(mySlot);
     }
     if (myMarketSlot != null)
     {
         myMarketSlot.mouseExitFunc();
     }
 }
Ejemplo n.º 2
0
 private void OnMouseExit()
 {
     hideText();
     if (mySlot != null)
     {
         if (gc == null)
         {
             gc = GameObject.FindGameObjectWithTag("GameController").GetComponent <GameController>();
         }
         gc.mouseExitSlotFunc(mySlot);
     }
     if (myMarketSlot != null)
     {
         myMarketSlot.mouseExitFunc();
     }
 }