Exemplo n.º 1
0
    public IEnumerator FlickVirusOnStart()
    {
        StartCoroutine(Twiner.VirusFlicker(gameObject));
        LastTail.GetComponent <Tail>().FlickOnAwake();
        IsNotFlicker = false;

        yield return(null);
    }
Exemplo n.º 2
0
    private IEnumerator StartFlickOnAwake()
    {
        StartCoroutine(Twiner.VirusFlicker(gameObject));

        if (nextBody != head.gameObject)
        {
            nextBody.GetComponent <Tail>().FlickOnAwake();
        }

        yield return(null);
    }