Skip to main content Skip to complementary content

DidDestroyChild Method

Overloads

DidDestroyChild(Boolean, String)

Callback after destroy, this method can be overridden to customize the behavior after a child has been destroyed.

DidDestroyChild(Boolean, String)

Callback after destroy, this method can be overridden to customize the behavior after a child has been destroyed.

Declaration

      protected virtual void DidDestroyChild(bool success, string childId)
    

Parameters

Type Name Description
System.Boolean success

True if the child was destroyed successfully

System.String childId

Identifier of the child that was destroyed.

Did this page help you?

If you find any issues with this page or its content – a typo, a missing step, or a technical error – let us know how we can improve!