You either make a script that has a GameObject field (or a component that is on the prefab) exposed in the inspector and manually assign the prefab (from the Project tab) in the editor.
A more dynamic way is to load it from resources - [Docs with an example][1]
[1]: http://docs.unity3d.com/ScriptReference/Resources.Load.html
↧