Hi,
I'm trying to instantiate a sprite startup that represents user. In this mode user can choose which team to play by clicking on the logo of one of the two teams.
My problem is that when I clicking on the logo and it starts ClickTeam1(), my gameObject moves correcty but sprite aren't vsible (I insert a image to help you to understand me)
It works good if I remove comment on the line of code in order to generate other prefab, but I only want to move the existing one.

public GameObject user_selection, grid_viewers, grid_team1;
GameObject user;
void inizialize()
{
user
= (GameObject
)Instantiate
(user_selection,
new Vector3
(0,
0,
0), Quaternion
.identity); user.transform.parent = grid_viewers.transform;
user.transform.localScale = Vector3.one;
grid_viewers.GetComponent< UIGrid >().Reposition();
}
public void ClickTeam1()
{
//user = (GameObject)Instantiate(user_selection, new Vector3(0,0,0), Quaternion.identity);
user.transform.parent = grid_team1.transform;
user.transform.localScale = Vector3.one;
grid_team1.GetComponent< UIGrid >().Reposition();
grid_viewers.GetComponent< UIGrid >().Reposition();
}