예제 #1
0
    private void OnMouseEnter()
    {
        if (myMarketSlot != null)
        {
            myMarketSlot.mouseOverFunc();
        }

        /*if(mySlot != null)
         * {
         *  gc.mouseOverSlotFunc(mySlot);
         * }*/
        showText();
    }
예제 #2
0
 void OnMouseOver()
 {
     showText();
     if (myMarketSlot != null)
     {
         myMarketSlot.mouseOverFunc();
         if (Input.GetMouseButtonDown(1))
         {
             myMarketSlot.rightMouseDownFunc();
         }
     }
     if (mySlot != null)
     {
         gc.mouseOverSlotFunc(mySlot);
         if (Input.GetMouseButtonDown(1))
         {
             gc.rightMouseSlotFunc(mySlot);
         }
     }
 }