Files
XCEngine/docs/api/components/game-object/detach-from-parent.md

349 B

GameObject::DetachFromParent

从父对象分离。

void DetachFromParent();

将当前 GameObject 从其父对象分离。分离后,该对象将成为根对象,但其子对象会保持为它的子对象。

相关文档