if we move the gameObject code example
Example: how to move a gameobject
public static int movespeed = 3;
public Vector3 userDirection = Vector3.down;
void Update()
{
transform.Translate(userDirection * movespeed * Time.deltaTime);
}