using Unity.Collections; using Unity.Entities; using Unity.NetCode; namespace Unity.MegaCity.Gameplay { /// /// Player score /// public struct PlayerScore : IComponentData { [GhostField(Quantization = 1000)] public float Value; public bool IsLocalPlayer; [GhostField] public int Kills; [GhostField] public FixedString64Bytes KilledPlayer; [GhostField] public FixedString64Bytes KillerName; } }