ok so…
SNew(STextBlock)
.Text(WidgetText)
this is to instance a text however how do I instance a reference box like this?
you reference the static mesh i wanna reference a class
ok so…
SNew(STextBlock)
.Text(WidgetText)
this is to instance a text however how do I instance a reference box like this?
.WidthOverride(125.0f)
[
SNew(SClassPropertyEntryBox)
.AllowNone(bAllowNone)
.MetaClass(AGameModeBase::StaticClass())
.SelectedClass(this, &FGameModeInfoCustomizer::GetCurrentGameModeClass)
.OnSetClass(FOnSetClass::CreateSP(this, &FGameModeInfoCustomizer::SetCurrentGameModeClass))
]
this seems to be it, but I need a reference to and actor something to not just a class …
Help!