using FMODUnity; using System; using TMPro; using UnityEngine; using UnityEngine.UI; namespace NEG.UI.UnityUi.Buttons { public class ButtonSerializeFields : MonoBehaviour { [field: SerializeField] public Button Button { get; private set; } [field: SerializeField] public TMP_Text Text { get; private set; } [field: SerializeField] public Color SelectedTextColor { get; private set; } [field: SerializeField] public Color DeselectedTextColor { get; private set; } [field: SerializeField] public EventReference HoverEventRef { get; private set; } [field: SerializeField] public EventReference ClickEventRef { get; private set; } private void OnValidate() { if(Button == null) Button = GetComponent