j'utilise la même version que le tuto
Voila mon script :
Code : Tout sélectionner
using UnityEngine;
using UnityEngine.Networking;
public class JoueurController : NetworkBehaviour {
void Update ()
{
if (!isLocalPlayer) {
return;
}
var x = Input.GetAxis ("Horizontal") * Time.deltaTime * 150.0f;
var z = Input.GetAxis("Vertical") * Time.deltaTime * 3.0f;
transform.Rotate(0, x , 0);
transform.Translate(0, 0, z);
}
}
On me dit : All compiler error have to be fixed before launch PlayMode
merci de m'aider