Create Game/[UE5] BLUEPRINT & C++

[UE5] 19 - Golds, Souls

GameChoi 2022. 12. 14. 21:33

1. Blueprint Souls Create

 - BP Item에서 상속받은 On Sphere Start Overlap 사용

On Sphere Start Overlap

2. Interface Pickup Item

Pickup Interface

 - Add Golds → 골드 획득 시 실행

 - Add Souls → 소울 획득 시 실행

- SetOverlapping Item → 아이템 실행 시 실행

 

3. Character Pickup Interface

 - 인터페이스로 부터 상속받은 값들은 캐릭터의 인터페이스로 이동함

Character Interface