using Unity.Entities; using Unity.Mathematics; using Unity.Physics; using UnityEngine; using UnityEngine.UIElements; namespace Unity.MegaCity.Gameplay { public struct PlayerInfoRef { public Entity Self; public string Name; public Label Label; public float3 CurrentScale; public VisualElement Panel; public VisualElement Badge; public VisualElement StatusIcon; public ProgressBar LifeBar; public PlayerInfoItemSettings Settings; public PlayerInfoRef(Entity player, float health, string playerName, VisualElement item, PlayerInfoItemSettings settings) { Label = item.Q