Files
Emberwild/Assets/GAME/Script/Building/BuildRecord.cs
T
2026-07-07 16:43:51 +02:00

17 lines
526 B
C#

using UnityEngine;
namespace Ashwild.Building
{
/// <summary>
/// A committed structure in the world, replicated in the BuildRegistry's SyncList: which
/// buildable (network id) sits at which pose. Every machine instantiates the matching
/// BuiltPrefab locally from this record — the structures themselves are never NetworkObjects (§3).
/// </summary>
public struct BuildRecord
{
public ushort buildableId;
public Vector3 position;
public Quaternion rotation;
}
}