using System.Collections.Generic; using Cysharp.Threading.Tasks; using Unity.Mathematics; using UnityEngine; using UnityEngine.UIElements; namespace DanieleMarotta.RiversongCodeShowcase { [UIView("population-panel")] public class PopulationPanelUIView : UIView { private Label _populationLabel; private VisualElement _happinessIcon; private Label _happinessLabel; private List _laborTier; private float _happinessIconScale = 1; public override UniTask InitializeAsync(UIService uiService, VisualElement rootElement) { base.InitializeAsync(uiService, rootElement); _populationLabel = rootElement.Q