示例#1
0
        public void OnTouchBeginDrag()
        {
            // TODO: Turn off hint.
            HintDisplay.Instance.DisableHint();

            // TODO: Check if the card is using.
            if (card.stateTouched != Enums.StateTouch.None)
            {
                return;
            }

            // TODO: update the number of move.
            UIBehaviours.Instance.UpdateMove();

            // TODO: Set the state like begin.
            card.stateTouched = Enums.StateTouch.BeginDrag;

            // TODO: Set Up the information before following.
            card.BeginFollow();
        }