Quantcast
Channel: Latest Questions on Unity Answers
Viewing all articles
Browse latest Browse all 171066

assets/gamer/scripts/corpo.js(44,1):BCE0044: expecting found".

$
0
0
var velocidadeLado : float; var velocidadeRotacao: float; function Start () { } function Update () { velocidadeCima = 30*Time.deltaTime; velocidadeFrente = 8*Time.deltaTime; velocidadeLado = 8*Time.deltaTime; velocidadeRotacao = 15*Time.deltaTime; if(Input.GetKey("w")) { transform.Translate(0,0,velocidadeFrente); } if(Input.GetKey("s")) { transform.Translate(0,0,-velocidadeFrente); } if(Input.GetKey("a")) { transform.Translate(-velocidadeLado,0,0); } if(Input.GetKey("d")) { transform.Translate(velocidadeLado,0,0); } if(Input.GetKey("j")) { transform.Rotate(0,-velocidadeRotacao,0); } if(Input.GetKey("l")) { transform.Rotate(0,velocidadeRotacao,0); }

Viewing all articles
Browse latest Browse all 171066

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>