From a9a95428a22793843a135d431145b7b2242ab93b Mon Sep 17 00:00:00 2001 From: Wojtek Figat Date: Fri, 2 Oct 2026 23:08:42 +0200 Subject: [PATCH] Fix doc typos https://github.com/FlaxEngine/FlaxDocs/pull/204 --- Source/Engine/AI/BehaviorTreeNodes.h | 12 ++++++------ Source/Engine/Core/Config/BuildSettings.h | 2 +- Source/Engine/Core/Config/GraphicsSettings.h | 2 +- 3 files changed, 8 insertions(+), 8 deletions(-) diff --git a/Source/Engine/AI/BehaviorTreeNodes.h b/Source/Engine/AI/BehaviorTreeNodes.h index bcc2bce91..20c29984c 100644 --- a/Source/Engine/AI/BehaviorTreeNodes.h +++ b/Source/Engine/AI/BehaviorTreeNodes.h @@ -410,15 +410,15 @@ API_CLASS(Sealed) class FLAXENGINE_API BehaviorTreeKnowledgeConditionalDecorator DECLARE_SCRIPTING_TYPE_WITH_CONSTRUCTOR_IMPL(BehaviorTreeKnowledgeConditionalDecorator, BehaviorTreeDecorator); API_AUTO_SERIALIZATION(); - // The first value from behavior's knowledge (blackboard, goal or sensor) to use for comparision. + // The first value from behavior's knowledge (blackboard, goal or sensor) to use for comparison. API_FIELD(Attributes="EditorOrder(0)") BehaviorKnowledgeSelectorAny ValueA; - // The second value to use for comparision (constant). + // The second value to use for comparison (constant). API_FIELD(Attributes="EditorOrder(10)") float ValueB = 0.0f; - // Values comparision mode. + // Values comparison mode. API_FIELD(Attributes="EditorOrder(20)") BehaviorValueComparison Comparison = BehaviorValueComparison::Equal; @@ -438,15 +438,15 @@ API_CLASS(Sealed) class FLAXENGINE_API BehaviorTreeKnowledgeValuesConditionalDec DECLARE_SCRIPTING_TYPE_WITH_CONSTRUCTOR_IMPL(BehaviorTreeKnowledgeValuesConditionalDecorator, BehaviorTreeDecorator); API_AUTO_SERIALIZATION(); - // The first value from behavior's knowledge (blackboard, goal or sensor) to use for comparision. + // The first value from behavior's knowledge (blackboard, goal or sensor) to use for comparison. API_FIELD(Attributes="EditorOrder(0)") BehaviorKnowledgeSelectorAny ValueA; - // The second value from behavior's knowledge (blackboard, goal or sensor) to use for comparision. + // The second value from behavior's knowledge (blackboard, goal or sensor) to use for comparison. API_FIELD(Attributes="EditorOrder(10)") BehaviorKnowledgeSelectorAny ValueB; - // Values comparision mode. + // Values comparison mode. API_FIELD(Attributes="EditorOrder(20)") BehaviorValueComparison Comparison = BehaviorValueComparison::Equal; diff --git a/Source/Engine/Core/Config/BuildSettings.h b/Source/Engine/Core/Config/BuildSettings.h index 54700278e..3980cd183 100644 --- a/Source/Engine/Core/Config/BuildSettings.h +++ b/Source/Engine/Core/Config/BuildSettings.h @@ -90,7 +90,7 @@ public: bool SkipDefaultFonts = false; /// - /// The maximum acceptable mesh vertex position error (in world units) for data quantization. Use 0 to disable this feature. Affects meshes during import (or reimpport). + /// The maximum acceptable mesh vertex position error (in world units) for data quantization. Use 0 to disable this feature. Affects meshes during import (or reimport). /// API_FIELD(Attributes="EditorOrder(2200), EditorDisplay(\"Content\"), ValueCategory(Utils.ValueCategory.Distance)") float MaxMeshPositionError = 0.5f; diff --git a/Source/Engine/Core/Config/GraphicsSettings.h b/Source/Engine/Core/Config/GraphicsSettings.h index 95094e761..b73874d8e 100644 --- a/Source/Engine/Core/Config/GraphicsSettings.h +++ b/Source/Engine/Core/Config/GraphicsSettings.h @@ -158,7 +158,7 @@ public: public: /// - /// The default Post Process settings. Can be overriden by PostFxVolume on a level locally, per camera or for a whole map. + /// The default Post Process settings. Can be overridden by PostFxVolume on a level locally, per camera or for a whole map. /// API_FIELD(Attributes="EditorOrder(10000), EditorDisplay(\"Post Process Settings\", EditorDisplayAttribute.InlineStyle)") PostProcessSettings PostProcessSettings;