コード例 #1
0
    IEnumerator ConstellationSequenceRoutine(float startDelay)
    {
        yield return(new WaitForSeconds(startDelay));

        for (int i = 0; i < ConstList.Count; i++)
        {
            var c = ConstList[i];

            yield return(c.InRoutine());

            yield return(new WaitForSeconds(preTextWaitTime));

            textScroller.ShowText(language == Language.EN ? c.titleEN : c.titleIS.ToUpper());

            yield return(new WaitForSeconds(c.StarsInTime + postTextWaitTime));

            yield return(c.OutRoutine());

            yield return(new WaitForSeconds(waitBetweenConstellations));
        }
    }