#if MODULE_ENTITIES using Unity.Entities; using Unity.Mathematics; namespace Pathfinding.ECS { using Pathfinding; /// /// Tag component to enable syncing between an agent's Transform and the agent entity's position. /// /// See: /// public struct SyncPositionWithTransform : IComponentData { } /// /// Tag component to enable syncing between an agent's Transform and the agent entity's rotation. /// /// See: /// public struct SyncRotationWithTransform : IComponentData { } /// /// Tag component to indicate that the agent's forward direction is along the Y axis. /// /// This is used to convert between the forward direction of the GameObject and the internal forward direction, which always uses +Z as forward. /// /// See: /// See: /// public struct OrientationYAxisForward : IComponentData { } } #endif