I have a small question. In my ETA project, I’ve made a UI screen that holds some buttons. The effected section is in root -> 2D Screen -> Token_Spawn_Group. Attached to it are two scripts: buttonClickThroughExample and tokenSpawnerUI.
The problem is that whenever a user clicks on the token spawner button in the lower-left corner, and then clicks on a button in the menu that pops up, the input just goes straight through and hits one of the tiles. The same thing happens whether lines 16-20 in buttonClickThroughExample are commented out or not. There is debugging script on line 26 of the tokenSpawnerUI script that indicates that the selected entity is, in fact, the entire Token_Spawn_Group. So how do I stop the click from going through?
For additional information, everything within Token_Spawn_Group is an entity, not a component. Could it be that, since they are different entities, buttonClickThroughExample doesn’t recognize them as part of Token_Spawn_Group for the purposes of click-through?