UCLASS(EditInlineNew, DefaultToInstanced)
class UMyTopLevelClass: public UObject
{
GENERATED_BODY()
public:
UPROPERTY(VisibleAnywhere)
FMyStruct MyStruct; // this is ok!
UPROPERTY(EditAnywhere,Instanced)
TObjectPtr<UMyClass> MyObject1; // this is ok! its looks like MyStruct use EditAnywhere
UPROPERTY(VisibleAnywhere, Instanced)
TObjectPtr<UMyClass> MyObject2; // I can not not find the name {MyObject2}(MyObject2's inner property always in a random category, but i need the top level property name 'MyObject2')
}
I read almost every document I could find, but there were no answers, is there any way to let MyObject2
render look’s like MyStruct
?
I’m sorry I didn’t describe it clearly before, but I want to know, for the sub-objects TObjectPtr<T> MyObject2
, why aren’t the categories clustered together,it looks totally out of order,I think they should converge to the top category MyObject2