using Unity.Entities; using Unity.NetCode; namespace Unity.MegaCity.Gameplay { /// /// Vehicle health /// public struct VehicleHealth : IComponentData { [GhostField(Quantization = 1000)] public float Value; [GhostField] public NetworkTick AliveStateChangeTick; [GhostField] public NetworkTick ReviveStateChangeTick; } }