diff --git a/Source/Engine/Navigation/NavMeshRuntime.h b/Source/Engine/Navigation/NavMeshRuntime.h index 0e073cd81..9c5df539c 100644 --- a/Source/Engine/Navigation/NavMeshRuntime.h +++ b/Source/Engine/Navigation/NavMeshRuntime.h @@ -49,7 +49,6 @@ public: /// /// Gets the size of the tile (in world-units). Returns zero if not initialized yet. /// - /// The tile size. FORCE_INLINE float GetTileSize() const { return _tileSize; diff --git a/Source/Engine/Navigation/NavigationTypes.h b/Source/Engine/Navigation/NavigationTypes.h index e06794a90..e786567dd 100644 --- a/Source/Engine/Navigation/NavigationTypes.h +++ b/Source/Engine/Navigation/NavigationTypes.h @@ -4,11 +4,12 @@ #include "Engine/Scripting/ScriptingType.h" #include "Engine/Core/Math/Vector3.h" +#include "FlaxEngine.Gen.h" /// /// The navigation system agent properties container for navmesh building and querying. /// -API_STRUCT() struct NavAgentProperties +API_STRUCT() struct FLAXENGINE_API NavAgentProperties { DECLARE_SCRIPTING_TYPE_MINIMAL(NavAgentProperties); @@ -36,7 +37,7 @@ DECLARE_SCRIPTING_TYPE_MINIMAL(NavAgentProperties); /// /// The result information for navigation mesh queries. /// -API_STRUCT() struct NavMeshHit +API_STRUCT() struct FLAXENGINE_API NavMeshHit { DECLARE_SCRIPTING_TYPE_MINIMAL(NavMeshHit);