Getting Target position at the time of shooting

I have a bullet that has to hit a constantly moving enemy.

So, in BulletScript, I have declared a Transform

public Transform enemy;               //and assigned enemy object to it that is continuously moving and changing its position


Now, when I try to use enemy.position in bullet script so as to hit it, enemy.positiongives the position at which the enemy started and not the position at which it was when bulletprefab was shot.

How can I get the updated position of enemy object every time bulletprefab is instantiated.

• Your comment says the object is contantly changing its position, but the text after it suggests its position stays the same. Which is it? – Anko Jul 27 '14 at 12:40
• @Anko: enemy object is constantly moving and I am trying to get its updated position in the bullet script, and so created Transform called Target and assigned enemy object to Target, but when I try to use Target.position, I get the position at which the enemy(Target) starts to move from and not the position at which it currently is – Simran kaur Jul 27 '14 at 12:44