/// <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; }
/// <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; }