Comment déplacer un jeu GameObject
public static int movespeed = 3;
public Vector3 userDirection = Vector3.down; //You can change this to any direction
void Update()
{
transform.Translate(userDirection * movespeed * Time.deltaTime);
}
Am coder