3
I’m creating a game project in Unity 5-64bits, I’m in the creation part of the camera drive. When I was typing the Javascript code, trying to use parentheses always gave the following error:
An error has occurred - error in text editor Extension Chair
I noticed the error and continued to finish the code, I reached a point that could already be executed, but by dragging the code to the location of the following message:
Please Fix Compile errors before Creating new script Components
My code:
#pragma strict
var Velocidade: Vector3;
function Start () {
}
function Update () {
Velocidade.x =0;
Velocidade.y =0;
Velocidade.z =0;
if (Input.mousePosition.x<=5 || Input.mousePosition.x>=screen.width-5)
{
Velocidade.x = Input.GetAxis ("Mouse X")*10*Time.deltaTime;
}
if (Input.mousePosition.y<=5 || input.mousePosition.y>=screen.height-5)
{
Velocidade.z = Input.GetAxis("Mouse X")*10*Time.deltaTime;
}
transform.Translate(Velocidade);
}
And when clicking Play the following message appears:
All Compiler errors have to be Fixed before you can enter playmode!
I think she’s on account of the problems...
Can show the Details of that Monodevelop error screen?
– Marcos Zolnowski
You’re here. http://pastebin.com/TwrV6CAd
– Pablo Marques
That there must be a Monodevelop error unique to version 64. I saw that some people decided updating Unity, others disabling the language
BOO
unity.– Nils