Say I have a prefab and I want it so that when they are instantiated in game they face the way the camera is facing.
The third parameter you pass to the Instantiate () method specifies the rotation of the object: Unity - Scripting API: Object.Instantiate
So to match the rotation of the camera:
Instantiate (yourGameObject, atPosition, Camera.main.transform.rotation);