Added simple radius gizmo

This commit is contained in:
Antoine Pilote
2023-08-02 15:34:04 -04:00
parent eecfd3c375
commit 1a8f4bd1aa
8 changed files with 77 additions and 17 deletions

View File

@@ -40,6 +40,15 @@ public:
ComponentTableReset(component.Amount, 10.0f);
}
ImGui::TableNextColumn();
{
ImGui::Text("Rate");
ImGui::TableNextColumn();
ImGui::DragFloat("##ParticleRate", &component.Rate, 0.1f, 0.0f, 10.0f);
ImGui::TableNextColumn();
ComponentTableReset(component.Rate, 0.0f);
}
ImGui::TableNextColumn();
{
ImGui::Text("Life");
ImGui::TableNextColumn();