I’ve read a few articles but I’m still unclear, mostly because articles tend to lack context. This is what I have now:
header
TSharedPtr<SVerticalBox> ActivateLicense;
TSharedPtr<SVerticalBox> DeactivateLicense;
slate cpp
SAssignNew(ActivateLicense, SVerticalBox)
and further down…
void FPluginModule::HideLicenseUI(){
ActivateLicense->SetVisibility(EVisibility::Hidden);
DeactivateLicense->SetVisibility(EVisibility::Visible);
}
That last part triggers a breakpoint, apparently the pointer isn’t valid. I saw one guy initializing his pointers but I have no idea where that would go or if it’s what I need to do.
Any ideas?