diff --git a/Source/Engine/Level/Actor.h b/Source/Engine/Level/Actor.h index 334021c28..7621e4a2a 100644 --- a/Source/Engine/Level/Actor.h +++ b/Source/Engine/Level/Actor.h @@ -437,13 +437,13 @@ public: } /// - /// Sets actor orientation in 3D space + /// Sets actor orientation in 3D space. /// /// The value to set. API_PROPERTY() void SetOrientation(const Quaternion& value); /// - /// Gets actor scale in 3D space + /// Gets actor scale in 3D space. /// API_PROPERTY(Attributes="HideInEditor, NoSerialize") FORCE_INLINE Vector3 GetScale() const @@ -458,13 +458,13 @@ public: API_PROPERTY() void SetScale(const Vector3& value); /// - /// Gets actor rotation matrix + /// Gets actor rotation matrix. /// API_PROPERTY(Attributes="HideInEditor, NoSerialize") Matrix GetRotation() const; /// - /// Sets actor rotation matrix + /// Sets actor rotation matrix. /// /// The value to set. API_PROPERTY() void SetRotation(const Matrix& value); diff --git a/Source/Tools/Flax.Build/Bindings/BindingsGenerator.CSharp.cs b/Source/Tools/Flax.Build/Bindings/BindingsGenerator.CSharp.cs index d51d7b754..15d8825a8 100644 --- a/Source/Tools/Flax.Build/Bindings/BindingsGenerator.CSharp.cs +++ b/Source/Tools/Flax.Build/Bindings/BindingsGenerator.CSharp.cs @@ -488,10 +488,7 @@ namespace Flax.Build.Bindings { if (comment.Contains("/// ")) continue; - var c = comment.Replace("::", "."); - contents.Append(indent); - contents.Append(c); - contents.AppendLine(); + contents.Append(indent).Append(comment.Replace("::", ".")).AppendLine(); } GenerateCSharpAttributes(buildData, contents, indent, eventInfo, true); @@ -586,11 +583,7 @@ namespace Flax.Build.Bindings { if (comment.Contains("/// ")) continue; - - var c = comment.Replace("::", "."); - contents.Append(indent); - contents.Append(c); - contents.AppendLine(); + contents.Append(indent).Append(comment.Replace("::", ".")).AppendLine(); } GenerateCSharpAttributes(buildData, contents, indent, fieldInfo, true); @@ -636,14 +629,7 @@ namespace Flax.Build.Bindings { if (comment.Contains("/// ") || comment.Contains("