using UnityEngine; using UnityEngine.UI; namespace UnityAtoms.Examples { [RequireComponent(typeof(Button))] public sealed class RaiseEventOnButtonClick : MonoBehaviour { [SerializeField] private VoidEvent _event; private void Awake() { var button = GetComponent