forked from mirror/DotRecast
bugifx - ImGui button duplicate label
This commit is contained in:
parent
fc553e2753
commit
776548e916
|
@ -74,7 +74,7 @@ public class CrowdProfilingTool
|
||||||
ImGui.SliderInt("Max Iterations", ref maxIterations, 0, 4000);
|
ImGui.SliderInt("Max Iterations", ref maxIterations, 0, 4000);
|
||||||
ImGui.NewLine();
|
ImGui.NewLine();
|
||||||
|
|
||||||
if (ImGui.Button("Start"))
|
if (ImGui.Button("Start Crowd Profiling"))
|
||||||
{
|
{
|
||||||
if (navMesh != null)
|
if (navMesh != null)
|
||||||
{
|
{
|
||||||
|
|
|
@ -594,7 +594,7 @@ public class DynamicUpdateTool : ITool
|
||||||
ImGui.SliderFloat("Max Sample Error", ref detailSampleMaxError, 0f, 16f, "%.1f");
|
ImGui.SliderFloat("Max Sample Error", ref detailSampleMaxError, 0f, 16f, "%.1f");
|
||||||
ImGui.NewLine();
|
ImGui.NewLine();
|
||||||
|
|
||||||
if (ImGui.Button("Build"))
|
if (ImGui.Button("Build Dynamic mesh"))
|
||||||
{
|
{
|
||||||
if (dynaMesh != null)
|
if (dynaMesh != null)
|
||||||
{
|
{
|
||||||
|
|
|
@ -355,7 +355,7 @@ public class JumpLinkBuilderTool : ITool
|
||||||
//option.buildTypes = buildTypes;
|
//option.buildTypes = buildTypes;
|
||||||
bool build = false;
|
bool build = false;
|
||||||
bool buildOffMeshConnections = false;
|
bool buildOffMeshConnections = false;
|
||||||
if (ImGui.Button("Build"))
|
if (ImGui.Button("Build Jump Link"))
|
||||||
{
|
{
|
||||||
build = true;
|
build = true;
|
||||||
}
|
}
|
||||||
|
|
|
@ -201,7 +201,7 @@ public class RcSettingsView : IRcView
|
||||||
ImGui.Text($"Build Time: {buildTime} ms");
|
ImGui.Text($"Build Time: {buildTime} ms");
|
||||||
|
|
||||||
ImGui.Separator();
|
ImGui.Separator();
|
||||||
buildTriggered = ImGui.Button("Build");
|
buildTriggered = ImGui.Button("Build Nav Mesh");
|
||||||
const string strLoadNavMesh = "Load Nav Mesh...";
|
const string strLoadNavMesh = "Load Nav Mesh...";
|
||||||
if (ImGui.Button(strLoadNavMesh))
|
if (ImGui.Button(strLoadNavMesh))
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue