bAutoManageAttachment

Virtual void [OnAttachmentChanged()](API\Plugins\Niagara\UNiagaraComponent\OnAttachmentChanged) override;

Windows
MacOS
Linux

Syntax

[UPROPERTY](Programming/UnrealArchitecture/Reference/Properties)(EditAnywhere, BlueprintReadOnly, Category=Attachment)
uint32 bAutoManageAttachment: 1

Remarks

True if we should automatically attach to AutoAttachParent when activated, and detach from our parent when completed. This overrides any current attachment that may be present at the time of activation (deferring initial attachment until activation, if AutoAttachParent is null). When enabled, detachment occurs regardless of whether AutoAttachParent is assigned, and the relative transform from the time of activation is restored. This also disables attachment on dedicated servers, where we don't actually activate even if bAutoActivate is true.

See Also

AutoAttachParent

[AutoAttachSocketName](API\Plugins\Niagara\UNiagaraComponent\AutoAttachSocketName)

AutoAttachLocationType

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss