using UnityEngine; using UnityEngine.UIElements; namespace UnityEditor.Splines { sealed class ReadOnlyField : BaseField { readonly Label m_IndexField; public ReadOnlyField(string label) : base(label, new Label() { name = "ReadOnlyValue" }) { style.flexDirection = FlexDirection.Row; m_IndexField = this.Q