unity how to instantiate a prefab with a value code example
Example 1: unity instantiate prefab
Instantiate(cube, Vector3 (x, y, 0), Quaternion.identity);
Example 2: instantiate prefab
Instantiate(tree, new Vector3(0, 0, 0), Quaternion.identity);