Answers for "how to make a 2d gameobject move in unity"

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 make a 2d gameobject move in unity"

Browse Popular Code Answers by Language