ProjectDDD/Packages/com.arongranberg.astar/Core/ECS/Components/AgentOffMeshLinkMovementDisabled.cs
2025-07-08 19:46:31 +09:00

17 lines
624 B
C#

#if MODULE_ENTITIES
using Unity.Entities;
namespace Pathfinding.ECS {
/// <summary>
/// Component which is enabled when the agent is traversing an off-mesh link, and the built-in movement logic should be disabled.
///
/// You can toggle this using <see cref="AgentOffMeshLinkTraversalContext.enableBuiltInMovement"/>.
///
/// This component is added to the agent when it starts traversing an off-mesh link.
/// The enabled/disabled state is managed by <see cref="JobManagedOffMeshLinkTransition"/>.
/// </summary>
public struct AgentOffMeshLinkMovementDisabled : IComponentData, IEnableableComponent {
}
}
#endif