Example #1
0
    /// <summary>
    /// Drop the item.
    /// </summary>
    private void DropItem()
    {
        // Un-parent the item.
        m_heldItem.transform.parent = null;

        m_heldItem.Drop();

        // Clear the held item.
        m_heldItem = null;
    }