move gameobject in unity 2d

48

move gameobject in unity 2d -

transform.position = new Vector3(transform.position.x + movespeed, transform.position.y);

Comments

Submit
0 Comments