Simplify message to be single-line with less text

#2990
This commit is contained in:
Wojtek Figat
2025-02-01 15:26:13 +01:00
parent be293a957a
commit da513972e8

View File

@@ -78,7 +78,7 @@ namespace FlaxEngine
{
Position = position;
Direction = direction;
Assert.IsTrue(Direction.IsNormalized, $"The Ray Direction was not normalized\nRay Direction: {direction}, Ray Length: {direction.Length}");
Assert.IsTrue(Direction.IsNormalized, $"The Ray Direction was not normalized (direction: {direction}, length: {direction.Length})");
}
/// <summary>