예제 #1
0
        public void DrawCard(Card card)
        {
            GameObject  cardObject = PlayerDeck.GetNewCard(card);
            LSAnimation move1      = AnimationFactory.Instance.CreatMove(cardObject, RightShowTrans);

            AnimationManager.Instance.AddAnimation(move1);

            LSAnimation delay = AnimationFactory.Instance.CreatDelay(0.2f);

            AnimationManager.Instance.AddAnimation(delay);

            cardObject.AddComponent <HandDrag>();
            PlayerHand.Add(cardObject.GetComponent <UICard>());
        }