Hey i want that if im in a area ther come a OnGUI texture so i write this
static var doorzone =false;
var E = Texture2D;
function OnTriggerStay(Collider) {
doorzone == true;
if(Input.GetButtonDown("e")){
Application.LoadLevel(1);
}
}
function OnGUI() {
if(doorzone == true)
GUI.Label(Rect(100,100,200,200), drückeE);
}
but i become this error
Assets/Gel�ndeobjekte/Kirche/doorzone.js(19,39): BCE0044: unexpected char: 0xFC.
thx for help and sorry for the mistakes im german