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