private void Start() { NaRedOuterRing.SetActive(true); ClRedOuterRing.SetActive(true); ClBlueOuterRing.SetActive(false); ExplanationText.SetActive(false); EonRestartButton.SetActive(false); Nae1StartPosition = Nae1.GetComponent <Transform>().localPosition; NaStartPosition = Na.GetComponent <Transform>().localPosition; ClStartPosition = Cl.GetComponent <Transform>().localPosition; }
public void EonSimulationReStart() { Nae1.transform.localPosition = Nae1StartPosition; Na.transform.localPosition = NaStartPosition; Cl.transform.localPosition = ClStartPosition; ClBlueOuterRing.SetActive(false); NaRedOuterRing.SetActive(true); ClRedOuterRing.SetActive(true); ExplanationText.SetActive(false); EonRestartButton.SetActive(false); Invoke("EOnSimulationStart", 2f); }
IEnumerator e1Movement() { yield return(new WaitForSeconds(1.0f)); Nae1.GetComponent <Animation>().Play(); yield return(new WaitForSeconds(1f)); NaRedOuterRing.SetActive(false); yield return(new WaitForSeconds(3.3f)); ClRedOuterRing.SetActive(false); yield return(new WaitForSeconds(0.5f)); ClBlueOuterRing.SetActive(true); yield return(new WaitForSeconds(1.5f)); StartCoroutine(pull()); }