コード例 #1
0
        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);
            }
        }
コード例 #2
0
 public virtual void OnPointerDown(PointerEventData e)
 {
     Events.instance.Raise(new PointerDownEvent(this, e));
     SelectionHandler.ClickSelectable(this, e);
 }
コード例 #3
0
 public void OnPointerDown(PointerEventData e)
 {
     SelectionHandler.ClickSelectable(Levee, e);
     Events.instance.Raise(new PointerDownEvent(this, e));
 }
コード例 #4
0
 public virtual void OnPointerDown(PointerEventData e)
 {
     SelectionHandler.ClickSelectable(this, e);
 }