using System; using System.Collections.Generic; using System.Linq; using UnityEngine; using UnityEngine.UIElements; using BoostComponents; public class ControlsUI : MonoBehaviour { [SerializeField] ShipControls ship; UIDocument uiDocument; Label speed; Label shields; Label puAccel; Label puDecel; Label puStrafe; Label puShield; BoostBar boostBar; void OnEnable() { Init(); } void Init() { uiDocument = GetComponent(); speed = uiDocument.rootVisualElement.Q