yyl
2025-05-19 b118ece3db250a5a257b60713da92234d8d5a57a
Main/Component/UI/Common/ClickScreenOtherSpace.cs
@@ -5,8 +5,6 @@
using System;
using UnityEngine.Events;
namespace vnxbqy.UI
{
    [RequireComponent(typeof(RectTransform))]
    public class ClickScreenOtherSpace : MonoBehaviour
    {
@@ -24,16 +22,16 @@
            set { m_RespondType = value; }
        }
        UIEvent m_ClickOtherEvent = new UIEvent();
        Action m_ClickOtherEvent;
        public void AddListener(UnityAction _callBack)
        public void AddListener(Action _callBack)
        {
            m_ClickOtherEvent.AddListener(_callBack);
            m_ClickOtherEvent += _callBack;
        }
        public void RemoveAllListeners()
        {
            m_ClickOtherEvent.RemoveAllListeners();
            m_ClickOtherEvent = null;
        }
        private void LateUpdate()
@@ -62,6 +60,4 @@
            In,
            Out,
        }
    }
}
    }