Leaning/언리얼

06-13 UE5 오후 inventory

ksw8596 2024. 6. 13. 15:31

ItemData

Slot

 

DT_Item

 

interface가 계속바뀌는것을 고려하여 만들어진것이 데리게이트

 

 

SaveData

Inventory를 배열형으로 추가

 

BPI_ItemState

 

AC_Item

아이템의 유형?

 

AC_Inventory

 

아이템 먹을 때 Inventory에서 검사하고 먹는 키 로직

 

FindItemSlot

아이템이 어느 곳에 있는지를 파악하기위해 만듦

AddItemSlot

 

SaveInventory

LoadInventory

 

 

GameInstance : 레벨로드하기 전에 실행한다.

 

 

 

참조API 

interface

https://dev.epicgames.com/documentation/ko-kr/unreal-engine/implementing-blueprint-interfaces-in-unreal-engine?application_version=5.3

 

https://dev.epicgames.com/documentation/ko-kr/unreal-engine/data-driven-gameplay-elements-in-unreal-engine?application_version=5.3