Browse Source

Final Build

FINAL_BUILD
Joshua Reason 9 years ago
parent
commit
e13b9aa2d0
4 changed files with 10 additions and 7 deletions
  1. +1
    -1
      Pinata_Data/PlayerConnectionConfigFile
  2. BIN
      playable/Assets/Scenes/Level1.unity
  3. +1
    -0
      playable/Assets/Scripts/CDscript.cs
  4. +8
    -6
      playable/Assets/sceneController.cs

+ 1
- 1
Pinata_Data/PlayerConnectionConfigFile View File

@ -1 +1 @@
listen 1859183214 0 0
listen 1928270416 0 0

BIN
playable/Assets/Scenes/Level1.unity View File


+ 1
- 0
playable/Assets/Scripts/CDscript.cs View File

@ -14,6 +14,7 @@ public class CDscript : MonoBehaviour {
// Use this for initialization
void Start () {
pause = true;
Time.timeScale = 0.0f;
}
// Update is called once per frame

+ 8
- 6
playable/Assets/sceneController.cs View File

@ -67,10 +67,17 @@ public class sceneController : MonoBehaviour {
if (Input.GetButtonDown("start")) {
paused = !paused;
optionsSelect ();
}
optionsSelect ();
if (exit) {
Time.timeScale = 1.0f;
Application.LoadLevel("Menu_Scene");
}
@ -89,13 +96,8 @@ public class sceneController : MonoBehaviour {
options.SetActive (false);
}
if (exit) {
Time.timeScale = 1.0f;
Application.LoadLevel("Menu_Scene");
}
}

Loading…
Cancel
Save