- Home /
Question by
GalStil · Jan 16, 2018 at 03:15 PM ·
uiinputinputmanageronclick
OnClick triggers twice because of UnityEngine.SendMouseEvents
When i first click my UI Button its works well, but as i click again (wherever) the button is pressed again! when printing to make check what is going on i found out by stacktrace that OnClick was first called by EventSystem which is ok. the problem is in the 2nd click which calls the OnClick from: UnityEngine.SendMouseEvents:DoSendMouseEvents(Int32) i checked my inputmanager and there is no mouse relation in submit. i made sure that navigation is off for all the relevant buttons. Help me please! Thank you!
Comment