public void OnPointerEnter(PointerEventData eventData) { #if UNITY_EDITOR DebugUtility.Log(LoggerTags.UI, "OnPointerEnter : {0}", name); #endif m_EnterEvent.Invoke(this, eventData); }
private void OnTriggerEnter(Collider other) { EnterEvent?.Invoke(other.gameObject); }
/// <summary> /// Raises the <see cref="E:EnterEvent" /> event. /// </summary> /// <param name="e">The <see cref="TileEventArgs"/> instance containing the event data.</param> protected virtual void OnEnterEvent(TileEventArgs e) { EnterEvent?.Invoke(this, e); }
public virtual void OnEnter(T col) { EnterEvent?.Invoke(col); }