using TMPro; using UnityEngine; namespace AibisDream.FixSystem { public class TaskItem : MonoBehaviour { [SerializeField] private TMP_Text label; public bool IsConfigured => label != null; public void SetText(string value) { if (label == null) { Debug.LogError($"[{nameof(TaskItem)}] {name} 未绑定文本组件。", this); return; } label.text = $"\u25cf {value}"; } } }