IEnumerator delay() { yield return(new WaitForSeconds(1.23f)); FadeZero f = FindObjectOfType <FadeZero>(); f.startnewFade(); f.fadeIn(); }
// Update is called once per frame void Update() { if (start == true) { timeCount += Time.deltaTime; if (0.0f < timeCount && timeCount < clipDuration) { fz.setVlack(); fz.startnewFade(); } if (clipDuration < timeCount && timeCount < clipDuration + 3.0f) { if (fz.fadeFinish == true) { fz.fadeIn(); Move m = FindObjectOfType <Move>(); m.setIngamePut(true); } } } }