I am new to unity … I created a prefab and instantiate it but when i apply transform,translate it is not moving in any direction … I have used an empty game object
You need to have a script attached TO THAT prefab gameObject which contains the code for translation.
something like this -
void Update(){
transform.Translate(Time.deltaTime * 20 * Vector3.Forward);
}
Hope this helps !!!