Tag Info

New answers tagged


Prefab the canvas and image then add this code to Instantiate it within the canvas. public GameObject canvas; public GameObject enemyCar; void CreateEnemy(){ var createImage = Instantiate(enemyCar) as GameObject; createImage.transform.SetParent(canvas.transform, false); } Almost exactly the same answer I posted yesterday on how to ...

Top 50 recent answers are included