using System; using System.Collections; using System.Collections.Generic; using UnityEngine; using UnityEngine.UIElements; /* 这个controller 是用于控制 Status UI菜单的 */ public class StatusController : MonoBehaviour { public Button backButton; public Label nameLabel, genderLabel, breedLabel, hostLabel, hostnameLabel, ageLabel, ageValueLabel, statusLabel, statusValueLabel; DogProperty puppy; public VisualElement selectElement; // Start is called before the first frame update void OnEnable() { var root = GetComponent().rootVisualElement; backButton = root.Q