예제 #1
0
    /// <summary>
    /// This method will be called on the start of the mouse drag
    /// </summary>
    /// <param name="eventData">mouse pointer event data</param>
    public void OnBeginDrag(PointerEventData eventData)
    {
        lastMousePosition          = eventData.position;
        canvasGroup.blocksRaycasts = false;
        shineParticle.SetActive(true);
        IsCardGetForDrag = true;

        cardsInHand.RepositionCards();
    }