public void OnPointerExit(PointerEventData eventData) { if (!isActive) { image.color = tabControlller.normalColor; //Debug.Log("this is on pointer exit"); } tabControlller.ButtonMouseExit(tabIndex); }