using Fantasy.Entitas;
using Unity.Mathematics;

namespace NB.Map;

/// <summary>
/// 地图玩家单元
/// </summary>
public class MapUnit : Entity
{
    /// <summary>
    /// 位置
    /// </summary>
    public float3 Position;

    /// <summary>
    /// 旋转
    /// </summary>
    public float3 Rotation;

    /// <summary>
    /// 当前所在地图id
    /// </summary>
    public int MapId;

    /// <summary>
    /// 当前所在的房间id
    /// </summary>
    public long RoomId;

    public long GateRouteId;
}