I'm trying to instantiate a prefab in the direction of an object the player will click, is there a simple way to achieve this that I am missing? Currently I have a very crude method in mind and would rather not use that unless its my only option. Any help is appreciated, thanks in advance.
What do you mean in the direction of...? Also it's probably prudent to write some code and test it first before asking for help.
Well, you could instantiate an empty gameObject where the payer clicked, then have the other instantiated Obj look at it on start. All methods for this have examples in the doc.(just incase you don't already know lol)
In the instantiate, you can try and alter the Quaternion if you feel brave. I'd suggest however instantiating the pre-fab according to the pseudo-code Code (csharp): Transform prefab; prefab = (Transform) Instantiate (prefab with position and stuff); prefab.LookAt(the target your prefab must look at); // You might have to lock the z or x rotation so that the object does not look directly at the base of the object it is supposed to look at. It can look pretty silly if it is a character.
Code (csharp): Instantiate (prefabReference, spawnPosition, Quaternion.LookRotation (lookTarget.transform.position - spawnPosition));
My apologies, I guess I didn't explain this properly. I'm trying to shoot "bullet" prefabs in the direction of an enemy object the user will click in screen space. The enemy object is moving towards the player so it's important that the bullet travel fast enough, and in the proper direction to make contact before the enemy has moved. One more thing is the player object shooting the bullet prefabs is stationary and will not turn to face the enemies, it will simply shoot in their direction. I hope that makes sense.
I think you'll need to be more clear about exactly which bits you're asking about. You've got the directional instantiate question answered.