Hello and good day to all !
First of all, I want to apologize if I ask something that is stupid or for any other reason it is not right.
I am at the beginning of Unity development and I have a player, represented by a cube and a "+" button that adds other cubes. For the player game object I have attached a script that moves and rotates the player.
What I want to do is press any other newly generated cubes and have the selected cube to be the player and move that cube.
Is there any way of doing this ?
Thanks in advance. Dan.
↧