Пример #1
0
        private void DragCard(Card c)
        {
            CardLogic      cardLogic = new CardLogic();
            Card_handOrder handOrder = null;

            if (c.User == Setting.gameController.LocalPlayer)
            {
                handOrder = handObj[0].GetComponent <Card_handOrder>();
            }
            else
            {
                handOrder = handObj[1].GetComponent <Card_handOrder>();
            }

            handOrder.enabled = false;
            cardLogic.CardTracking(c);
            handOrder.enabled = true;
        }