Esempio n. 1
0
        /// <summary>
        /// Drops one item from the slot with the specified _index.
        /// </summary>
        /// <param name="_index">Index.</param>
        public void Drop(int _index)
        {
            InventorySlotObject _slot = GetSlotByIndex(_index);

            if (_slot != null)
            {
                _slot.DropItem();
            }
        }