How to instantiate and enemy at a certain postion

Using a ref object maybe?

Hi Reafy,

As the Doc answered, if all you need is instantiating at a certain location you can simply use the Object.Instantiate method at which you can specify the location and the orientation of the newly instantiated entity at the second and third parameter.

To quote from the documentation:

This function makes a copy of an object in a similar way to the Duplicate command in the editor. If you are cloning a GameObject then you can also optionally specify its position and rotation (these will default to and Quaternion.identity respectively). If you are cloning a Component then the GameObject is is attached to will also be cloned, again with an optional position and rotation.

And the documentation:

Here’s the code:
Instantiate(myPrefab, refobject.transform.position, refobject.transform.rotation)