Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- if (Input.GetMouseButtonDown(0) | Input.GetKey(KeyCode.Space))
- { Time.timeScale = 1;
- rb.velocity = Vector2.up * speed; //0,1
- Jump.Play();
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement