Skip to content

Commit 8ddeb16

Browse files
style
Adding XML API for time being to avoid PVP issues (until we sort through the issue with v1.x tests being public).
1 parent dd5dc7b commit 8ddeb16

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

com.unity.netcode.gameobjects/TestHelpers/Runtime/IntegrationTestWithApproximation.cs

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,11 +8,21 @@ public abstract class IntegrationTestWithApproximation : NetcodeIntegrationTest
88
{
99
private const float k_AproximateDeltaVariance = 0.01f;
1010

11+
/// <summary>
12+
/// Returns a <see cref="Vector3"/> as a formatted string.
13+
/// </summary>
14+
/// <param name="vector3">reference of <see cref="Vector3"/> to return as a formatted string.</param>
15+
/// <returns><see cref="string"/></returns>
1116
protected string GetVector3Values(ref Vector3 vector3)
1217
{
1318
return $"({vector3.x:F6},{vector3.y:F6},{vector3.z:F6})";
1419
}
1520

21+
/// <summary>
22+
/// Returns a <see cref="Vector3"/> as a formatted string.
23+
/// </summary>
24+
/// <param name="vector3"><see cref="Vector3"/> to return as a formatted string.</param>
25+
/// <returns><see cref="string"/></returns>
1626
protected string GetVector3Values(Vector3 vector3)
1727
{
1828
return GetVector3Values(ref vector3);

0 commit comments

Comments
 (0)