I have an actor in C++ with some component variables and I’m struggling to figure out what combination of UPROPERTY tags I need to put on these component variables to stop their properties from showing up in the class defaults inside the blueprint window? I’m tried things like VisibleAnywhere, VisibleInstanceOnly, BlueprintReadOnly but none of them give the desired result. I just want them to behave that same way as a component you add in the blueprint window. i.e. it’s properties do not appear in the class defaults or the instance properties, but only when the component is actually selected.
1 Like
Did you find the solution?
I just went back and checked the code and I appear to be using EditDefaultsOnly on those component variables, which appears to fix the problem.
This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.