Пример #1
0
    IEnumerator Follow()
    {
        yield return(new WaitForSeconds(.1f));

        Elastic left  = GameObject.Find("ElasticRight").GetComponent <Elastic>();
        Elastic right = GameObject.Find("ElasticLeft").GetComponent <Elastic>();

        left.Reset();
        right.Reset();
        game.SetLoaded(null);
    }