- Home /
Question by
rgeurts · Jul 16, 2012 at 09:02 PM ·
bce0005unknown identifier
Error building 2D Gameplay tutorial
I am trying to build the "2D Gameplay Tutorial to IOS and get the following error:
Assets/Scripts/2D/Spaceship/Spaceship.js(83,9): BCE0005: Unknown identifier: 'thrust'.
When I try to build the above project to MacOS it builds fine without any errors.
Here is the code snippet where the "thrust" variable is initialised.
function Update () {
//Collecting appropriate input. thrust = Input.GetAxisRaw ("Vertical"); turn = Input.GetAxisRaw ("Horizontal");
if (!canControl) { thrust = 0.0; turn = 0.0; }
Does anyone know the solution to this issue?
Many thanks
Comment