I have a component in my actor. When I click “Class Defaults”, it shows me all properties of my component, such as transform and mesh. I want to see these only when I click on the component itself, not in actor’s defaults.
3 Likes
Did you end up figuring this one out ?
Inside the actor class, assign a category to your UPROPERTY component. Then hide the category in the UCLASS macro.
UCLASS(Abstract, HideCategories = ComponentToHide)
class ATestActor : public AActor
{
GENERATED_BODY()
protected:
UPROPERTY(VisibleAnywhere, BlueprintReadOnly, Category = ComponentToHide)
TObjectPtr<class UStaticMeshComponent> TestMeshComp;
};