public void SelectLoot(GameObject o) { selectLoot = o; lastParent = o.transform.parent; o.transform.SetParent(passivePainel[i].GetComponent <Passive>().ChoseTransfom.transform, false); o.transform.GetComponent <RectTransform>().anchoredPosition = new Vector2(101, -82); Passiva.CheckChange(o); }