public void SetItemSlot(int itemType)
    {
        if (player != null)
        {
            player.playerTimeBar.AddTimerBonus(2);
        }

        if (itemType > (int)ItemType.StateCount)
        {
            itemType -= 1;
        }
        if (itemInfos[itemType].useImmediately == true)
        {
            itemInfos[itemType].corUsingItem = StartCoroutine(CorUsingItem(itemInfos[itemType]));
        }
        else
        {
            player.SetItem(itemSprite[itemType], itemType);
        }
    }