diff --git a/Editor/src/ComponentsPanel/UIPanel.h b/Editor/src/ComponentsPanel/UIPanel.h index 05ce4496..70251dac 100644 --- a/Editor/src/ComponentsPanel/UIPanel.h +++ b/Editor/src/ComponentsPanel/UIPanel.h @@ -45,6 +45,16 @@ public: ComponentTableReset(component.UIFilePath, ""); } + ImGui::TableNextColumn(); + { + ImGui::Text("Worldspace"); + ImGui::TableNextColumn(); + + ImGui::Checkbox("##WorldSpace", &component.IsWorldSpace); + ImGui::TableNextColumn(); + + ComponentTableReset(component.IsWorldSpace, false); + } } EndComponentTable(); }