Thank you so much, this is exactly what I was looking for.
Just one question tho, about those properties you’re passing in the function:
PropertyModule.FindOrCreateSection("Object", "GM", LOCTEXT("GM", "GM"));
“Object” → ClassName = The class you want this section to show up in the details panel (UObject in this case)
“GM” → Section Name = Unique name for the new section
LOCTEXT(“GM”, “GM”) = DisplayName → DisplayName on the details panel
So, if I want the new section to show up in Pawn derived classes only, I should use:
PropertyModule.FindOrCreateSection("Pawn", "GM", LOCTEXT("GM", "GM"));
The question is, if I want to select more than one class, which is the best solution?
Just adding a new “FindOrCreateSection” function for each class?
PropertyModule.FindOrCreateSection(“Pawn”, “GM”, LOCTEXT(“GM”, “GM”));
PropertyModule.FindOrCreateSection(“MyClass1”, “GM”, LOCTEXT(“GM”, “GM”));
PropertyModule.FindOrCreateSection(“MyClass2”, “GM”, LOCTEXT(“GM”, “GM”));
Thanks!