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

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 gameobject in unity 2d scene"

Browse Popular Code Answers by Language