Would you please how to declare these variables?
"CharacterItem" and "inventory"
some others from the following sections too. Thanks,
"CharacterItem" and "inventory"
C#:
CharacterItem characterItem = inventory.GetActiveCharacterItem(slotID);
Inventory - Opsive
The Inventory component keeps track of the ItemIdentifiers and CharacterItems the character owns. It also has some useful functions adding/removing ItemIdentifier amounts, adding/removing CharacterItems or . . .
opsive.com