Beispiel #1
0
    void Update()
    {
        if (HasInput)
        {
            DragOrPickUp();
        }
        else
        {
            if (draggingItem)
            {
                DropItem();
            }

            if (description)
            {
                cm.CardDescription(false);
                description = false;
            }

            if (indArea)
            {
                gc.ShowGrid(false);
                indArea = false;
            }

            if (deckStats)
            {
                GameManager.instance.drawObj.SetActive(false);
                deckStats = false;
            }

            counter = 0;
        }
    }