示例#1
0
    public IEnumerator FlickVirusOnStart()
    {
        StartCoroutine(Twiner.VirusFlicker(gameObject));
        LastTail.GetComponent <Tail>().FlickOnAwake();
        IsNotFlicker = false;

        yield return(null);
    }
示例#2
0
    private IEnumerator StartFlickOnAwake()
    {
        StartCoroutine(Twiner.VirusFlicker(gameObject));

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

        yield return(null);
    }