/// <summary> /// General function to activate the item's UIInteract /// This is the same as clicking the item with the same item's hand /// </summary> public void Activate() { // Is there an item in the active hand? if (!CurrentSlot.IsFull) { return; } CurrentSlot.TryItemInteract(); }
/// <summary> /// General function to activate the item's UIInteract /// This is the same as clicking the item with the same item's hand /// </summary> public void Activate() { if (!isValidPlayer()) { return; } // Is there an item in the active hand? if (CurrentSlot.Item == null) { return; } CurrentSlot.TryItemInteract(); }