|
I am trying to make a button (LeftAlt) that will set the timeScale to 0 and show/unlock the cursor but my script isn't working, here is my script (JavaScript):
(comments are locked)
|
|
EditorApplication.isPlaying = false;
(comments are locked)
|
That's going to set p to 1 then check that p == 1
(comments are locked)
|
