예제 #1
0
 public void GameOverTime()
 {
     StopAllCoroutines();
     StartCoroutine(InterfaceFatherScript.MoveInterface(false, gameObject));
     endGroup.SetActive(true);
     Destroy(gameObject, 2);
 }
예제 #2
0
 void MyStart()
 {
     StartCoroutine(InterfaceFatherScript.MoveInterface(Intro, UpLines.transform.GetChild(0).gameObject, UpLines.transform.GetChild(1).gameObject));
     if (Intro)
     {
         Invoke("DownLinesInv", 0.6f);
     }
 }
예제 #3
0
 void DotsStage3()
 {
     StartCoroutine(InterfaceFatherScript.MoveInterface(Intro, DotasGroup.transform.GetChild(0).gameObject, DotasGroup.transform.GetChild(4).gameObject));
     if (Intro)
     {
         Invoke("TextFadeStage", 0.6f);
     }
     else
     {
         Invoke("DotsStage2", 0.1f);
     }
 }
예제 #4
0
 void DotsStage2()
 {
     StartCoroutine(InterfaceFatherScript.MoveInterface(Intro, DotasGroup.transform.GetChild(1).gameObject, DotasGroup.transform.GetChild(3).gameObject));
     if (Intro)
     {
         Invoke("DotsStage3", 0.2f);
     }
     else
     {
         Invoke("DotsStage1", 0.1f);
     }
 }
예제 #5
0
 // Update is called once per frame
 void DownLinesInv()
 {
     StartCoroutine(InterfaceFatherScript.MoveInterface(Intro, DownLines.transform.GetChild(0).gameObject, DownLines.transform.GetChild(1).gameObject));
     if (Intro)
     {
         Invoke("DotsStage1", 0.4f);
     }
     else
     {
         MyStart();
     }
 }
예제 #6
0
 // Use this for initialization
 void Start()
 {
     ShowingTime *= 50;
     StartCoroutine(RedTimer());
     StartCoroutine(InterfaceFatherScript.MoveInterface(true, gameObject));
 }