public static void Show(Item currentItem, bool sameItem = false) { if (instance != null) { instance.Show(currentItem, RecipeManager.GetItemRequirement(currentItem.Data.code), sameItem); } }
private void RefreshTooltip() { if (mouseOver) { RecipeTooltip.Show(currentItem, true); } }
public void OnCursorEnter() { mouseOver = true; if (visibility != Hidden) { RecipeTooltip.Show(currentItem); } }