Exemplo n.º 1
0
 public void GameOverTime()
 {
     StopAllCoroutines();
     StartCoroutine(InterfaceFatherScript.MoveInterface(false, gameObject));
     endGroup.SetActive(true);
     Destroy(gameObject, 2);
 }
Exemplo n.º 2
0
 void MyStart()
 {
     StartCoroutine(InterfaceFatherScript.MoveInterface(Intro, UpLines.transform.GetChild(0).gameObject, UpLines.transform.GetChild(1).gameObject));
     if (Intro)
     {
         Invoke("DownLinesInv", 0.6f);
     }
 }
Exemplo n.º 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);
     }
 }
Exemplo n.º 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);
     }
 }
Exemplo n.º 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();
     }
 }
Exemplo n.º 6
0
 // Use this for initialization
 void Start()
 {
     ShowingTime *= 50;
     StartCoroutine(RedTimer());
     StartCoroutine(InterfaceFatherScript.MoveInterface(true, gameObject));
 }