Question is off-topic or not relevant
How to select a game object with a touch in Android, and deselect all the others, or deselect all when I touch anything else
Can anyone give me a light plz? , I don't know what to search in order to achieve this. Thanks!
Answer by Matti-Jokipii · Feb 06, 2018 at 10:00 PM
It is unclear what you mean by select and deselect. If you just need this kind of logic with minimum amount of coding, you could try something like the Unity.UI.ToggleGroup. Make your game objects Unity.Ui.Toggle buttons and add them to a toggle group. Set the group to allow for none selected, which is your deselect all. Then add a full screen Unity.UI.Button to the background and make it deselect all in the toggle group. Then implement whatever selected/deselected means using the Toggles. Hope this helps.
Follow this Question
Related Questions
Terrain Problem Unity 2017.3.1f1 0 Answers
Package Appears to be Corrupt error on Android,Package appears to be corrupt on android?? 0 Answers
I get an error when I call Application.Quit. 0 Answers
Game doesn't work after adding AdMob 0 Answers
Cached addressable asset bundles' location in Android? 1 Answer