강의

멘토링

로드맵

Inflearn Community Q&A

pgw9804076103's profile image
pgw9804076103

asked

Lee Deuk-woo's Unreal Programming Part 2 - Understanding the Unreal Game Framework

Chapter 7: Character Stats and Widgets

컴파일오류

Resolved

Written on

·

387

0

오류해결을 하고 싶습니다 다른 코드는 정상적으로 작동이 되어집니다

unreal-engineue-blueprint언리얼-c++

Answer 2

0

pgw9804076103님의 프로필 이미지
pgw9804076103
Questioner

상속받은 상태인데도 오류가 뜨고 있습니다

pgw9804076103님의 프로필 이미지
pgw9804076103
Questioner

찾았습니다 제가 public uuserWidget으로 상속받고있었네요 ㅠㅠ

0

ideugu님의 프로필 이미지
ideugu
Instructor

OwningActor를 못찾는건 상속을 안받아서 그런 것 같네요.
UABUserWidget을 상속받았는지 확인해보시겠어요?

https://github.com/ideugu/UnrealProgrammingPart2/blob/7/Source/ArenaBattle/UI/ABHpBarWidget.h

#include "CoreMinimal.h"
#include "ABUserWidget.h"
#include "ABHpBarWidget.generated.h"

/**
 * 
 */
UCLASS()
class ARENABATTLE_API UABHpBarWidget : public UABUserWidget

 

 

pgw9804076103's profile image
pgw9804076103

asked

Ask a question