bloak
This commit is contained in:
@@ -219,20 +219,6 @@ public class Slot : MonoBehaviour
|
||||
|
||||
// ==================== UI Events ====================
|
||||
|
||||
void OnMouseEnter()
|
||||
{
|
||||
if (slotBackground != null && !_isSelected)
|
||||
slotBackground.color = hoverColor;
|
||||
|
||||
OnSlotHovered?.Invoke(this);
|
||||
}
|
||||
|
||||
void OnMouseExit()
|
||||
{
|
||||
if (slotBackground != null && !_isSelected)
|
||||
slotBackground.color = IsEmpty ? emptySlotColor : filledSlotColor;
|
||||
}
|
||||
|
||||
void OnMouseDown()
|
||||
{
|
||||
if (Input.GetMouseButton(0))
|
||||
|
||||
Reference in New Issue
Block a user