UActorComponent::K2_DestroyComponent

Unregister and mark for pending kill a component.

Windows
MacOS
Linux

References

Module

Engine

Header

/Engine/Source/Runtime/Engine/Classes/Components/ActorComponent.h

Include

#include "Components/ActorComponent.h"

Source

/Engine/Source/Runtime/Engine/Private/Components/ActorComponent.cpp

Syntax

void K2_DestroyComponent
(
    UObject * Object
)

Remarks

Unregister and mark for pending kill a component. This may not be used to destroy a component that is owned by an actor unless the owning actor is calling the function.

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