Unity How to create a game object/prefab run-time with script

Make sure you have Assets/Resources folder with your prefab in it.

Create.cs
GameObject clone = (GameObject ) Instantiate(Resources.Load("PrefabName"), new Vector2(x, y), Quaternion.identity);
Navigation
Print/export
Toolbox