instantiate prefab on click unity code example Example: unity instantiate prefab Instantiate(cube, Vector3 (x, y, 0), Quaternion.identity);