Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR CSHARP

move gameobject in unity 2d

transform.position = new Vector3(transform.position.x + movespeed, transform.position.y);
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #move #gameobject #unity
ADD COMMENT
Topic
Name
7+8 =