using UnityEngine.UIElements; public class UserProfileItemVisualElement : VisualElement { // A reference to the UXML template. We will load this in the DataSource. public static readonly string UxmlPath = "UserProfileItem"; // References to the UI elements inside the template. private readonly Label nameLabel; private readonly Label statusLabel; public UserProfileItemVisualElement() { // This is where we find the child elements by their names from the UXML. nameLabel = this.Q