Esempio n. 1
0
 private void HorizontalInput()
 {
     inputSpeed = TouchController.GetAxis("Horizontal");
     velocity.x = inputSpeed * speed;
 }