using System.Collections; using System.Collections.Generic; using BITKit; using UnityEngine; using UnityEngine.Events; using UnityEngine.UIElements; namespace BITKit.UX { public class UXPlayer : MonoBehaviour { [SerializeReference, SubclassSelector] private IReference rootPath; [SerializeField] private UnityEvent onSetTime; private Slider _playSlider; private Label _currentLabel; private Label _totalLabel; private Button _playButton; private VisualElement _container; private void Start() { _container = GetComponent().rootVisualElement.Q(rootPath.Value); _playSlider = _container.Q("play-slider"); _currentLabel = _container.Q