Answers for "how to move a object in unity 2d"

3

move gameobject in unity 2d

transform.position = new Vector3(transform.position.x + movespeed, transform.position.y);
Posted by: Guest on May-04-2021

Code answers related to "how to move a object in unity 2d"

Browse Popular Code Answers by Language