i have a static gaameobject, so there is no way of adding it from the inspector, but how can i add it from script…the gameobject files is in th assets folder
Create folder called “Resources”, add prefab in that folder and in code:
GameObject go = (GameObject) Resources.Load("prefabName");