-
-
Notifications
You must be signed in to change notification settings - Fork 23
4. Usage
Inventory Components are the inventory itself. This component is responsible to store and manage the inventory package.
This component derives from UActorComponent and the addition is the same as described by Unreal Engine: https://docs.unrealengine.com/5.1/en-US/components-in-unreal-engine/
To add items, you'll have some options:
- Using functions such as
AddItems
- Manually adding via Editor
Util actor already containing some useful functions and the inventory component.
This actor derives from AActor and the creation is the same as described by Unreal Engine: https://docs.unrealengine.com/4.26/en-US/ProgrammingAndScripting/ProgrammingWithCPP/UnrealArchitecture/Actors/
To add items, you'll have some options:
- Using functions such as
AddItems
- Manually adding via Editor
- You can enable internal logs via: Project Settings -> Plugins -> Elementus Inventory -> Enable Internal Logs
- Inventory Components also contains a function to assist debugging and monitor the consumption:
DebugInventory
Looking for the other pages of this documentation?
Check the upper right section of this wiki and expand this item: