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