virtual void handleMenu() { imguiLabel("Create Temp Obstacles"); if (imguiButton("Remove All")) m_sample->clearAllTempObstacles(); imguiSeparator(); imguiValue("Click LMB to create an obstacle."); imguiValue("Shift+LMB to remove an obstacle."); }
virtual void handleMenu() { ImGui::Text("Create Temp Obstacles"); if (ImGui::Button("Remove All")) m_sample->clearAllTempObstacles(); ImGui::Separator(); ImGui::Text("Click LMB to create an obstacle."); ImGui::Text("Shift+LMB to remove an obstacle."); }