using UnityEngine;
using UnityEngine.UI;
namespace UnityAtoms.MonoHooks
{
///
/// Mono Hook for On Button Click
///
[EditorIcon("atom-icon-delicate")]
[AddComponentMenu("Unity Atoms/Hooks/On Button Click Hook")]
[RequireComponent(typeof(Button))]
public sealed class OnButtonClickHook : VoidHook
{
private void Awake()
{
var button = GetComponent