I understand
, thank you for the answer, but is there a way to manually, through c# script, set selection to "false" on the selected object so it can receive another OnSelect event ?
Here is what I want to achieve, I've a fullscreen grid of gameObject with a UIEventListener on each.
When I click on one object, some UIButtons appears to let you choose an action.
I wanted to make disappear those buttons when the user click anywhere but on the buttons.
But if the user doesn't click on the button but anywhere on the screen, he clicks on a gameObject of the grid sending an unwanted OnSelect event to this object ... and I would like to reset the selection state of this gameObject so it can be selected again.
I'm not english and it's difficult to be really precise on my explanation
...