ActorComponent-Destroy(bool).md
April 18, 2021 ยท View on GitHub
UnrealEngine.Framework.ActorComponent
ActorComponent.Destroy(bool) Method
Unregisters the component, removes it from its outer actor's components array and marks for pending kill
public void Destroy(bool promoteChild=false);
Parameters
promoteChild System.Boolean
Promotes the child component in the hierarchy during the destruction