Ejemplo n.º 1
0
    public void OnPointerDown(PointerEventData ped)
    {
        hand.SetJoyStick(false);
        UIManager.instance.CardInfoPanel_On(data);
        data.CardEffectPreview();

        if (!IsAvailable())
        {
            //사운드 이상해서 일단 꺼둠
            //SoundDelegate.instance.PlayEffectSound(SoundEffect.AKSLOW, PlayerControl.player.transform.position);
            return;
        }
        if (!GameManager.instance.IsInputOk || PlayerControl.instance.IsDirCardSelected)
        {
            return;
        }

        hand.ChooseOne();

        if (locateRoutine != null)
        {
            StopCoroutine(locateRoutine);
        }
        base.transform.rotation = Quaternion.identity;
    }