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