示例#1
0
    private void OnMouseUp()
    {
        //Shrunken
        transform.position   = originalLocation;
        transform.localScale = new Vector2(HandController.handController.cardStartingSize, HandController.handController.cardStartingSize);
        if (!isCasting)
        {
            cardController.DeleteRangeIndicator();
        }

        //Resolve cast
        cardController.DeleteRangeIndicator();
        if (!isCasting)
        {
            transform.position = originalLocation;
        }
        else
        {
            Trigger();
        }
    }
 private void Hold()
 {
     cardController.DeleteRangeIndicator();
     HandController.handController.HoldCard(cardController);
 }