aboutsummaryrefslogtreecommitdiff
path: root/source/GameObject.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'source/GameObject.hpp')
-rw-r--r--source/GameObject.hpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/source/GameObject.hpp b/source/GameObject.hpp
index d0f94a5..c30b91b 100644
--- a/source/GameObject.hpp
+++ b/source/GameObject.hpp
@@ -58,6 +58,7 @@ public:
void AddChild(GameObject* child);
GameObject* RemoveChild(int index);
GameObject* RemoveChild(GameObject* child);
+ void RemoveSelfFromParent();
PodVector<GameObject*> RemoveAllChildren();
EditorAttachment* GetEditorAttachment() const { return mEditorAttachment.get(); }