From d98a4159d86406a47628aa58bae9f3308fea4fd0 Mon Sep 17 00:00:00 2001 From: hnOsmium0001 Date: Fri, 6 May 2022 19:52:12 -0700 Subject: Improved camera and various cleanups --- source/GameObject.hpp | 1 + 1 file changed, 1 insertion(+) (limited to 'source/GameObject.hpp') 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 RemoveAllChildren(); EditorAttachment* GetEditorAttachment() const { return mEditorAttachment.get(); } -- cgit v1.2.3-70-g09d2