Quantcast
Channel: Questions in topic: "parenting"
Viewing all articles
Browse latest Browse all 302

Transferring a gameobject onto another gameobject

$
0
0
Hi! I'm kinda new to Unity and C# in general and need some help if I may... Please see the picture down below. (This is a little hard to explain I think). ---------- In the picture below, there are 5 circles with 12 numbers spread out in a pattern sitting on top of the outer edges of all 5 circles. Each circle holds 4 numbers (whether a number is connected to more than one circle here is irrelevant). When any circle is clicked, it performs a 90° clockwise spin. When this happens, I need the numbers that spin with the circle attach themselves (or re-parent themselves) to any new circle(s) that it now resides on as to have it spin once more when an attached number to a circle is once again clicked, starting the cycle again. ---------- On top of this, I need to constantly check what numbers are on what circle for something else I have in mind which I think I can do on my own. ---------- Any ideas would be insanely appreciated. Thank you very much for your time and efforts. ![alt text][1] [1]: /storage/temp/174301-capture.png

Viewing all articles
Browse latest Browse all 302

Trending Articles