It's my code
void FixedUpdate(){
if (Input.GetKey (KeyCode.Space)) {
GetComponent ().AddForce (new vector2(0,5) );
}
}
But it's not working
↧