You'll see that the Integration demo does just that.
In the Inventory System Item Set Manager, you should set your "body", or "fist" in your case, as the last Item Set.
Make sure to toggle on "Default" and toggle off "Can Switch To".
This will automatically equip the item if nothing else is equipped.
View attachment 4299
You can add your knife in an item set above, simply make sure you "can switch to" it and default is false.
Make sure to have a look at the integration demo for more examples.
var ucc_uis_bridge = itemUser.gameobject.GetCachedComponent<UltimateInventorySystemBridge>();
ucc_uis_bridge.RemoveItem(itemInfo, false);
Currently adding/removing the item directly to/from the item collection"Equipped" won't work because the Bridge component won't get notified.
Instead you will need to remove the item using the bridge component.
In the future we may look into a solution which will allow you to remove the item both ways.
For now use:
Code:var ucc_uis_bridge = itemUser.gameobject.GetCachedComponent<UltimateInventorySystemBridge>(); ucc_uis_bridge.RemoveItem(itemInfo, false);
You'll see that the Integration demo does just that.
In the Inventory System Item Set Manager, you should set your "body", or "fist" in your case, as the last Item Set.
Make sure to toggle on "Default" and toggle off "Can Switch To".
This will automatically equip the item if nothing else is equipped.
View attachment 4299
You can add your knife in an item set above, simply make sure you "can switch to" it and default is false.
Make sure to have a look at the integration demo for more examples.