how to instantiate an gameObject with collider and script during runtime?

hi, i just met a problem about instantiation, hope someone can help me.
These are the steps:

  1. Artworkers make models in 3dsmax and export that with .fbx format.
  2. Then they drag the .fbx into the scene, using Editor to add some script and collider on the object and store the assetbundle on web.
    3.Later, client program (unity web player) will download the assetbundle and instanciate it. But obviously ,there’s no collider and script on that item.

My question is : what should I do, if I want to instanciate an gameObject (during runtime )with script and collider someone have edited during editing time

just find an answer : BuildPipeLine can build prefab.

Prefabs aren’t part of scenes so are easily Instantiated. Make a new Prefab in the Project view, and add the mesh, scripts, colliders, etc to it.
No need to build them via script (unless you really want to)