using UnityEngine; using UnityEngine.UIElements; using Button = UnityEngine.UIElements.Button; public class SellScreenController : MonoBehaviour { private UIDocument _document; private Label _itemNameLabel; private Label _avgPriceLabel; private Label _paidPriceLabel; private TextField _yourPriceInputfield; private SellCounter _counter; private Object _sellingObject; //Because we set the gameobject to active false, we need to use OnEnable private void OnEnable() { _document = GetComponent(); _itemNameLabel = _document.rootVisualElement.Q