Quantcast
Channel: Questions in topic: "ios"
Viewing all articles
Browse latest Browse all 4709

Change Player object at touch

$
0
0
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.

Viewing all articles
Browse latest Browse all 4709

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>