Parcourir la source

testbed: quick check for storage window

skypjack il y a 1 an
Parent
commit
a9852a2d2f
1 fichiers modifiés avec 5 ajouts et 1 suppressions
  1. 5 1
      testbed/system/imgui_system.cpp

+ 5 - 1
testbed/system/imgui_system.cpp

@@ -6,9 +6,13 @@
 namespace testbed {
 
 void imgui_system(const entt::registry &registry) {
-    ImGui::Begin("Davey");
+    ImGui::Begin("Davey - registry");
     entt::davey(registry);
     ImGui::End();
+
+    ImGui::Begin("Davey - storage");
+    entt::davey(*registry.storage<int>());
+    ImGui::End();
 }
 
 } // namespace testbed