Browse Source

Fixed: count down

master
Joshua Reason 9 years ago
parent
commit
2fbb14bae0
3 changed files with 3 additions and 3 deletions
  1. BIN
      playable/Assets/Prefabs/Image.prefab
  2. BIN
      playable/Assets/Scenes/Level1.unity
  3. +3
    -3
      playable/Assets/Scripts/CDscript.cs

BIN
playable/Assets/Prefabs/Image.prefab View File


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


+ 3
- 3
playable/Assets/Scripts/CDscript.cs View File

@ -10,7 +10,7 @@ public class CDscript : MonoBehaviour {
public GameObject num3;
public GameObject num4;
public GameObject num5;
public GameObject shat;
//public GameObject shat;
// Use this for initialization
void Start () {
pause = true;
@ -24,7 +24,7 @@ public class CDscript : MonoBehaviour {
Debug.Log ("cd");
}
if (startCount > 0) {
shat.SetActive (false);
//shat.SetActive (false);
}
if (startCount >=4.0f && startCount <= 4.9f){
num5.SetActive(true);
@ -69,7 +69,7 @@ public class CDscript : MonoBehaviour {
num3.SetActive(false);
num2.SetActive(false);
num1.SetActive(false);
shat.SetActive(true);
//shat.SetActive(true);
pause = false;
Time.timeScale = 1;

Loading…
Cancel
Save