- Home /
This question was
closed Oct 30, 2013 at 12:33 PM by
Graham-Dunnett for the following reason:
Duplicate Question
Question by
silentblade117 · Oct 30, 2013 at 12:31 PM ·
error
unaxpected char: 0xaD
i keep getting this error and i dont know whats wrong. someone help!!!!! this is what i wrote:
var Bullet : Transform;
var Spawn : Transform;
function Update ()
{ if(Input.GetButtonDown("Fire1")) { Shot(); }
}
function Shot()
{ var pel = Instantiate(Bullet, Spawn.position, Spawn.rotation); pel.rigidbody.AddForce(transfo-rm.forwa-rd * 8000);
audio.Play();
}
Comment
Follow this Question
Related Questions
Weird GUI problem 1 Answer
Unity web pallyer install problem 0 Answers
Unity 2018.1.6f1 Unity Package Manager Error 0 Answers
i got this code (21,1): error CS8025: Parsing error and my Vector3 isn't showing? 1 Answer
Insert a semicolon error 1 Answer