So I have a ball scene that I've instanced a few times within the main scene. I want to make it so you can click on them and it updates a variable that'll update the size of the one I'm looking at. However, no matter what "solution" I think of, it doesn't fix the issue that the variable updates for every instance of the script. I've tried putting the script only on the base scene, only on the instances, and also on both. It's not making any difference.
I have no idea why changing the variable for one instance updates every instance of that script. I know for a fact there isn't any code that's updating all of them. At least, none that's plainly obvious. Is there any reason this might be? Thank you!