private void OnMouseOver() { if (!selected) { CraftingPointer.OnFocusAreaHover(this); //transform.localScale = originalScale.PulseVector3(1.2f, 0.1f, 2, 3f); } else { transform.localScale = originalScale; return; } if (!isFocus && parentFocusAreaContainer.FocusAreaHandler.NumberOfInFocusAreas() == 0) { isFocus = true; if (ItemCrafter.CraftingSequenceActive) { parentFocusAreaContainer.BroadcastInteractionWithFocusArea(this); } } if(exitProcess != null) { StopCoroutine(exitProcess); } }
private void OnMouseExit() { exitProcess = StartCoroutine(StartExitProcess()); CraftingPointer.OnHoverEnd(); }