Answers for "unity 2d move gameobject to a location"

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 "unity 2d move gameobject to a location"

Browse Popular Code Answers by Language