Hello.
So I guees grid elements at inventory are selected onMouseOver.
On touchscreen I need to keep my finger on the screen and swipe over grid elements to select them (mimicing mouse movement). After I click unselected element, action popup is shown, but that element is not selected (highlighted) at this point, but after actions is chosen or popup disappears.
I would like to change this behaviour to fit touchscreen, so I think the best way would be to select grid element after click, so on PointerDown, and on second PointerDown show actions popup.
However I can be wrong with onMouseOver selection, because I can't find it at grid related scripts. I'm not sure if forcing selection after PointerDown will not cause some random issues later at some point if onMouseOver exists somewhere + I would like to get rid of as many mouse events as possible for android build.
So I guees grid elements at inventory are selected onMouseOver.
On touchscreen I need to keep my finger on the screen and swipe over grid elements to select them (mimicing mouse movement). After I click unselected element, action popup is shown, but that element is not selected (highlighted) at this point, but after actions is chosen or popup disappears.
I would like to change this behaviour to fit touchscreen, so I think the best way would be to select grid element after click, so on PointerDown, and on second PointerDown show actions popup.
However I can be wrong with onMouseOver selection, because I can't find it at grid related scripts. I'm not sure if forcing selection after PointerDown will not cause some random issues later at some point if onMouseOver exists somewhere + I would like to get rid of as many mouse events as possible for android build.
Last edited: