Beispiel #1
0
        public void OnPointerEnter(PointerEventData eventData)
        {
#if UNITY_EDITOR
            DebugUtility.Log(LoggerTags.UI, "OnPointerEnter : {0}", name);
#endif
            m_EnterEvent.Invoke(this, eventData);
        }
Beispiel #2
0
 private void OnTriggerEnter(Collider other)
 {
     EnterEvent?.Invoke(other.gameObject);
 }
Beispiel #3
0
 /// <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);
 }
Beispiel #4
0
 public virtual void OnEnter(T col)
 {
     EnterEvent?.Invoke(col);
 }