Hello
I would like a callback when the user does a mouse click but outside my GUI. It was suggested to assign "UICamera.fallThrough" to a gameobject for handling unprocessed events in another post.
I have two classes that handles user input:
GuiInput
UnprocessedInput
When I assign UICamera.fallThrough to UnprocessedInput and I click on the terrain(which is not an gui element) in my game will result on GuiInput.OnClick() will be called before UnprocessedInput.OnClick(). Am I missing something to get this working?
To shorten my question. I only want UnprocessedInput to recieve OnClick() callbacks when I click on my terrain. Currently GuiInput gets called before UnprocessedInput.