HitTest in Unity
Posted: 31 Aug 2013, 22:26
I am trying to capture whether a mouse event (Left click, Double click etc) happened on NoesisGuiPanel (meaning any visible GUI element) in order to refrain from interacting with game objects in the scene.
I've looked VisualTreeHelper::HitTest() but this did not go anywhere part for not really knowing how to use it and the HitTestResult in Noesis seems to not expose any properties that is useful in Unity.
Any help would be greatly appreciated.
I've looked VisualTreeHelper::HitTest() but this did not go anywhere part for not really knowing how to use it and the HitTestResult in Noesis seems to not expose any properties that is useful in Unity.
Any help would be greatly appreciated.