Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR CSHARP

unity move left and right

public float speed = 0.2f

transform.position = new Vector3(transform.position.x+speed,
	transform.position.y, transform.position.z);
Source by forum.unity.com #
 
PREVIOUS NEXT
Tagged: #unity #move #left
ADD COMMENT
Topic
Name
5+4 =