Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR CSHARP

unity movetowards 2d


transform.position = new Vector3(transform.position.x + movespeed, transform.position.y);

Source by w3programmers.org #
 
PREVIOUS NEXT
Tagged: #unity #movetowards
ADD COMMENT
Topic
Name
1+9 =