Author Topic: What is the proper way to force NGUI to shoot the OnDragEnd?  (Read 1621 times)

Sahkan

  • Jr. Member
  • **
  • Thank You
  • -Given: 9
  • -Receive: 0
  • Posts: 74
    • View Profile
What is the proper way to force NGUI to shoot the OnDragEnd?
« on: March 22, 2016, 01:42:41 AM »
I want to simulate this event like the user was really released the mouse button.
Is it possible?

ArenMook

  • Administrator
  • Hero Member
  • *****
  • Thank You
  • -Given: 337
  • -Receive: 1171
  • Posts: 22,128
  • Toronto, Canada
    • View Profile
Re: What is the proper way to force NGUI to shoot the OnDragEnd?
« Reply #1 on: March 24, 2016, 02:55:37 AM »
UIDragDropitem.StopDragging