Beispiel #1
0
    public void OnPointerDown(PointerEventData eventData)
    {
        OnDrag(eventData);

        if (joysticAnimator != null)
        {
            if (joysticAnimator.gameObject.activeSelf)
            {
                if (tutoAnim)
                {
                    joysticAnimator.Disabe();

                    if (nextAnimator != null)
                    {
                        nextAnimator.gameObject.SetActive(true);
                    }

                    tutoAnim = false;
                }
            }
        }
    }