feat: add prefabs

This commit is contained in:
2026-10-18 17:51:56 +02:00
parent d21c2ccfd7
commit 7df65f52b5
14 changed files with 1154 additions and 494 deletions
+3
View File
@@ -47,6 +47,8 @@ private:
void saveCurrentScene();
void loadScene();
void createEmptyScene();
void saveSelectedPrefab();
void instantiatePrefab();
void findPlayer();
void submitDebugDraws();
void submitColliderDebugLines();
@@ -62,6 +64,7 @@ private:
char scenePath[512]{"scenes/debug_scene.json"};
char newSceneName[128]{"EmptyScene"};
char prefabPath[512]{"prefabs/selected.prefab"};
std::string sceneStatus;
bool renderColliders{false};
bool render2DShapes{true};