Created by
Added
crearSprite.cs- Ignore whitespace
+ imagen.sprite = Resources.Load<Sprite>("Cartas/103"); //Set the Sprite of the Image Component on the new GameObject
+ nueva.GetComponent<RectTransform>().SetParent(gameObject.transform); //Assign the newly created Image GameObject as a Child of the Parent Panel.