public override void OnPointerDown(PointerEventData e) { Events.instance.Raise(new ClickPointEvent(this)); Events.instance.Raise(new PointerDownEvent(this, e)); if (Point.Object is Unit) { SelectionHandler.ClickSelectable(Point.Unit, e); } IPointerDownHandler pdh = Point.Object as IPointerDownHandler; if (pdh != null) { pdh.OnPointerDown(e); } }
public virtual void OnPointerDown(PointerEventData e) { Events.instance.Raise(new PointerDownEvent(this, e)); SelectionHandler.ClickSelectable(this, e); }
public void OnPointerDown(PointerEventData e) { SelectionHandler.ClickSelectable(Levee, e); Events.instance.Raise(new PointerDownEvent(this, e)); }
public virtual void OnPointerDown(PointerEventData e) { SelectionHandler.ClickSelectable(this, e); }