i got UStaticMeshComponent as root in my actor and i want create and attach widget component to it, but i cant find the name of this class ;(
Announcement
Collapse
No announcement yet.
whats the name of Widget Components class?
Collapse
X
-
-
Originally posted by BrUnO XaVIeR View PostYou attach UWidgetComponent that is used to render in 3D your UUserWidget (which is not a component)thanks for help, everything is working now.
- 1 like
Comment
-
nvm its not compiling lol, "Widget = CreateDefaultSubobject<UWidgetComponent>(TEXT("Widget Component"));" this part gives me that error: Item.cpp.obj : error LNK2019: ?????? ?? ????????????? ??????? ?????? "__declspec(dllimport) private: static class UClass * __cdecl UWidgetComponent::GetPrivateStaticClass(void)" (__imp_?GetPrivateStaticClass@UWidgetComponent@@CAPEAVUClass@@XZ) ? ??????? "public: __cdecl AItem::AItem(void)" (??0AItem@@QEAA@XZ)
UE4Editor-Sarafan-5971.dll : fatal error LNK1120: ????????????? ??????? ?????????: 1
i spend all day trying everything, this is just not working corrent.
Last edited by Repin Design; 11-17-2017, 04:59 PM.
Comment
Comment