how to unpack prefab unity code example
Example 1: unity instantiate prefab
Instantiate(cube, Vector3 (x, y, 0), Quaternion.identity);
Example 2: unity how to create a prefab
To create a Prefab Asset, drag a GameObject
from the Hierarchy window into the Project window.