Guest User

Untitled

a guest
Sep 24th, 2018
90
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.27 KB | None | 0 0
  1. // Use this for initialization
  2. void Start () {
  3.  
  4. }
  5.  
  6. // Update is called once per frame
  7. void Update () {
  8.  
  9. }
  10. public void Pause() {
  11.  
  12. if (Time.timeScale == 1) {
  13. Time.timeScale == 0;
  14. }
  15. else if (Time.timeScale == 0) {
  16. Time.timeScale == 1;
  17. }
  18. }
Add Comment
Please, Sign In to add comment