I now know how to select game objects with the left mouse button but does anyone know how to select instantiated objects with the left mouse button? So for example if I wanted to instantiate 10 cubes into a scene but still wanted to be able to select them each individually how could this be done? Also by select I mean that the game object have some form of response to being clicked on. Also I am using java currently.
After instantiating each one, assign it a unique name. when you detect the click, access the namem