private void OnMouseEnter() { if (myMarketSlot != null) { myMarketSlot.mouseOverFunc(); } /*if(mySlot != null) * { * gc.mouseOverSlotFunc(mySlot); * }*/ showText(); }
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); } } }