diff --git a/Services/DiagnosticsSystem/MixedRealityToolkitVisualProfiler.cs b/Services/DiagnosticsSystem/MixedRealityToolkitVisualProfiler.cs index a4512c417..f8e6cee52 100644 --- a/Services/DiagnosticsSystem/MixedRealityToolkitVisualProfiler.cs +++ b/Services/DiagnosticsSystem/MixedRealityToolkitVisualProfiler.cs @@ -165,6 +165,7 @@ public float WindowFollowSpeed private Color memoryLimitColor = new Color(150 / 256.0f, 150 / 256.0f, 150 / 256.0f, 1.0f); private GameObject window; + private TextMesh applicationDetailsText; private TextMesh cpuFrameRateText; private TextMesh gpuFrameRateText; private TextMesh usedMemoryText; @@ -474,6 +475,12 @@ private void BuildWindow() windowVerticalRotationInverse = Quaternion.Inverse(windowVerticalRotation); } + // Add Application details text + { + applicationDetailsText = CreateText("ApplicationDetails", new Vector3(0.495f, 0.75f, 0.0f), window.transform, TextAnchor.UpperRight, textMaterial, Color.white, string.Empty); + applicationDetailsText.text = $"{Application.productName} v{Application.version}"; + } + // Add frame rate text and frame indicators. { cpuFrameRateText = CreateText("CPUFrameRateText", new Vector3(-0.495f, 0.5f, 0.0f), window.transform, TextAnchor.UpperLeft, textMaterial, Color.white, string.Empty);