EventTrigger et = m_EmptyImage.gameObject.AddComponent<EventTrigger>();
EventTrigger.Entry e1 = new EventTrigger.Entry();
e1.eventID = EventTriggerType.PointerDown;
e1.callback = new EventTrigger.TriggerEvent();
if(m_IsInteract)
{
e1.callback.AddListener(new UnityAction<BaseEventData>(this.OnBackPress));
}
et.triggers.Add(e1);