When i create a new blueprint actor class with few componnets and place it on the world with editor, I can’t change any property of inherited componnets.
It can be changed only in blueprint class
Look at the screenshot:
it’s ok , this is what I need.
I try create blueprintable c++ class with simple constructor:
UPROPERTY() UStaticMeshComponent* Block; UPROPERTY() USceneComponent* BaseScene;
.cpp (in constructor)
this->BaseScene = CreateDefaultSubobject<USceneComponent>(TEXT("RootScene")); this->RootComponent = this->BaseScene; this->Block = CreateDefaultSubobject<UStaticMeshComponent>(TEXT("SimpleBlock")); this->Block->AttachParent = this->RootComponent;
then i create blueprint class with base class of my new c++ class
and when place it on the world with editor i can change any properties of inherited components (like BaseScene and Block)
Look at the pic:
My question is: How can i disable change any properties of inherited(c++) components ?
Sorry for my bad english.