how to create new prefab during game unity C# code example
Example: unity how to create a prefab
To create a Prefab Asset, drag a GameObject
from the Hierarchy window into the Project window.
To create a Prefab Asset, drag a GameObject
from the Hierarchy window into the Project window.