Debug.LogWarning($"XR stereo rendering mode not set to <b>{RenderingMode}</b>. See <i>Mixed Reality Toolkit</i> > <i>Utilities</i> > <i>Optimize Window</i> tool for more information to improve performance");
// If depth buffer sharing not enabled, advise to enable setting
Debug.LogWarning("<b>Depth Buffer Sharing</b> is not enabled to improve hologram stabilization. See <i>Mixed Reality Toolkit</i> > <i>Utilities</i> > <i>Optimize Window</i> tool for more information to improve performance");
// If depth format is 24-bit, advise to consider 16-bit for performance.
Debug.LogWarning("<b>Depth Buffer Sharing</b> has 24-bit depth format selected. Consider using 16-bit for performance. See <i>Mixed Reality Toolkit</i> > <i>Utilities</i> > <i>Optimize Window</i> tool for more information to improve performance");
Debug.LogWarning($"This application is not using the recommended <b>Audio Spatializer Plugin</b>. Go to <i>Project Settings</i> > <i>Audio</i> > <i>Spatializer Plugin</i> and select one of the following: {string.Join(", ",UwpRecommendedAudioSpatializers)}.");
Debug.LogWarning($"This application is not using an <b>Audio Spatializer Plugin</b>. Go to <i>Project Settings</i> > <i>Audio</i> > <i>Spatializer Plugin</i> and select one of the available options.");
}
}
/// <summary>
/// Checks critical project settings and suggests changes to optimize build performance via logged warnings
/// </summary>
privatestaticvoidLogBuildConfigurationWarnings()
{
if(PlayerSettings.stripUnusedMeshComponents)
{
/// For more information please see <see href="https://microsoft.github.io/MixedRealityToolkit-Unity/Documentation/Performance/PerfGettingStarted.html#optimize-mesh-data">Optimize Mesh Data</see>
Debug.LogWarning("<b>Optimize Mesh Data</b> is enabled. This setting can drastically increase build times. It is recommended to disable this setting during development and re-enable during \"Master\" build creation. See <i>Player Settings</i> > <i>Other Settings</i> > <i>Optimize Mesh Data</i>");
/// <param name="target"><see href="https://docs.unity3d.com/ScriptReference/Object.html">Object</see> that is undergoing the transformation. Also used for recording undo.</param>
/// <param name="origin">The initial position of the axis.</param>
/// <param name="direction">The direction the axis is facing.</param>
/// <param name="distance">Distance from the axis.</param>
/// <param name="target"><see href="https://docs.unity3d.com/ScriptReference/Object.html">Object</see> that is undergoing the transformation. Also used for recording undo.</param>
/// <param name="position">The position to draw the handle.</param>
/// <param name="xScale">Scale the new value on the x axis by this amount.</param>
/// <param name="yScale">Scale the new value on the x axis by this amount.</param>
/// <param name="zScale">Scale the new value on the x axis by this amount.</param>
/// <param name="target"><see href="https://docs.unity3d.com/ScriptReference/Object.html">Object</see> that is undergoing the transformation. Also used for recording undo.</param>
/// <param name="position">The position to draw the handle.</param>
/// <param name="xScale">Scale the new value on the x axis by this amount.</param>
/// <param name="yScale">Scale the new value on the x axis by this amount.</param>
/// <param name="zScale">Scale the new value on the x axis by this amount.</param>
/// <param name="target"><see href="https://docs.unity3d.com/ScriptReference/Object.html">Object</see> that is undergoing the transformation. Also used for recording undo.</param>
/// <param name="position">The position to draw the handle.</param>
/// <param name="xScale">Scale the new value on the x axis by this amount.</param>
/// <param name="yScale">Scale the new value on the x axis by this amount.</param>
/// <param name="zScale">Scale the new value on the x axis by this amount.</param>
/// <param name="target"><see href="https://docs.unity3d.com/ScriptReference/Object.html">Object</see> that is undergoing the transformation. Also used for recording undo.</param>
/// <param name="normalize">Optional, Normalize the new vector value.</param>
/// <param name="clamp">Optional, Clamp new vector's value based on the distance to the origin.</param>
/// <param name="target"><see href="https://docs.unity3d.com/ScriptReference/Object.html">Object</see> that is undergoing the transformation. Also used for recording undo.</param>
/// <param name="position">The position to draw the handle.</param>
/// <param name="rotation">The rotation to draw the handle.</param>