Day 10 - Item Usage System in C++ (Unreal Engine 5)

Hello everyone,

I’ve just completed Day 10 of my Unreal Engine 5 Gameplay Engineer journey.

Today I implemented an Item Usage System completely in C++.

Features implemented:

:white_check_mark: IA_UseItem Input Action

:white_check_mark: Enhanced Input Integration

:white_check_mark: UseEquippedItem Function

:white_check_mark: Inventory Integration

:white_check_mark: Equipment Integration

:white_check_mark: Item Usage Logic

Current gameplay flow:

Collect Item

↓

Add To Inventory

↓

Equip Item

↓

Use Item

Example output:

Equipped: Coin

Added Item: Coin

Inventory Size: 1

Current Equipped Item: Coin

Collected: Coin

Using: Coin

Current project systems:

:video_game: Day 1 - First C++ Actor

:video_game: Day 2 - Character Movement

:video_game: Day 3 - Health System

:video_game: Day 4 - Sprint System

:video_game: Day 5 - Double Jump

:video_game: Day 6 - Interaction System

:video_game: Day 7 - Collectible Items System

:video_game: Day 8 - Inventory System

:video_game: Day 9 - Equipment System

:video_game: Day 10 - Item Usage System

Video:

Video day 10:https://youtu.be/PvTTDKDEbLQ

I’m building every gameplay system from scratch using Unreal Engine 5 and C++ while documenting my journey to become a Gameplay Engineer.

Any feedback, suggestions, or code review comments are welcome.

Thank you!