I have a grid of 9 x 9 UIItems that I want to select bad on my input position (both mouse and touch) such as:
1. When I pressed down on the first UIItem, it records that item
2. Without releasing my finger or mouse, I move until I am above another UIItem
3. Once I relase my finger or mouse, the selection is over
I want to know exactly how to do so. I am reading Hover, but its confusing. Specifically this part: Hover needs to be enabled to work (Hover actived(tk2dUIManager.areHoverEventsTracked), using a mouse and mult-touch is disabled. While you have a property IsOver that tracks if a mouse is over the UIItem.
Here are what I think needs to happen:
* IsHoverEventsEnabled needs to be check for each UIItem
* AreHoverEventsTracked needs to be check in UIManager
* Does not work with mouse, only with touch (?)
The final product will be for mobile, but I need to test with a mouse on the editor. Can you shed some light?