Answers for "how to move an object in unity 2d with player"

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 an object in unity 2d with player"

Browse Popular Code Answers by Language