333GameStudio

Move-Z

May 16th, 2015
380
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. function Update (){
  2.  
  3. if(Input.GetKey("d"))
  4.  
  5. {
  6.  
  7. transform.position.z += 0.06;
  8.  
  9. }
  10. }
Advertisement
Add Comment
Please, Sign In to add comment