Hello guys
I wanted to make a simple selector to create the characters for my project, I immediately say that I have no idea how to program and apologize for my ignorance about it …
As you can see from the picture I created a simple simple menu just to select bodies through a dropdown … now I have no idea how to associate each selection with a body, it’s fine for me to do something like Hide and Enable only for A visual quration
With simple in mind. I would create an empty gameObject in the scene. call it “player”.
In your script you need
public GameObject player;
when you press the conferma button. Take the values that are in the dropdown and set that gameObject as a child of the player GameObject.
gameObjectFromDropdown.transform.SetParent(player);