Beispiel #1
0
    //Do this when the cursor enters the rect area of this selectable UI object.
    public void OnPointerEnter(PointerEventData eventData)
    {
        if (button.interactable)
        {
            //Debug.Log("Mouse is over button for state " + state);
            ScreenshotManager.OnPointerEnter(state);
            if (!hover)
            {
                //if (!GlobalAudio.ClipIsPlaying(AudioLibrary.inst.tetherMenuHover))
                //{
                AudioLibrary.PlayTetherMenuHover();
                //}
                hover = true;

                StartBeingRemovedSequence(true);
            }
        }
    }