Hey there
If there is a UObject set a variables as “EditAnywhere,BlueprintReadOnly”.
For this UObject’s ChildObject,if i can fix the variables’s attribute as “VisableAnywhere,BlueprintReadWrite”?
If modify it in the constructe of ChildObject?
Hey there
If there is a UObject set a variables as “EditAnywhere,BlueprintReadOnly”.
For this UObject’s ChildObject,if i can fix the variables’s attribute as “VisableAnywhere,BlueprintReadWrite”?
If modify it in the constructe of ChildObject?
I have find the solution for it.
First to get this FProperty,and second to clear its PorpertyFlag.
if (FProperty* Property = FindFProperty<FBoolProperty>(this->GetClass(), "PropertyName"))
{
Property ->ClearPropertyFlags(CPF_Edit|CPF_BlueprintVisible);
}
It will hidden the property in editor and make it can no be edit from blueprint.
This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.