I got my non-UObject class holds an
UUserWidget* Instance;
So how do I get a children widget (Ex: UTextBlock) out of that
Briefly, I want something like this:
Instance->GetChildrenWidgetByName("UTextBlock_Name")
I got my non-UObject class holds an
UUserWidget* Instance;
So how do I get a children widget (Ex: UTextBlock) out of that
Briefly, I want something like this:
Instance->GetChildrenWidgetByName("UTextBlock_Name")
Copyright © 2021 Jogjafile Inc.
In 4.26.2 you can do this if you know the child's name
or this if you just want to find it by type
for more information take a look into documentation
on a side note a very handy way of getting pointers to children of a widget is to use
meta = (BindWidget)inUPROPERTY- more on that here