public IEnumerator FlickVirusOnStart() { StartCoroutine(Twiner.VirusFlicker(gameObject)); LastTail.GetComponent <Tail>().FlickOnAwake(); IsNotFlicker = false; yield return(null); }
private IEnumerator StartFlickOnAwake() { StartCoroutine(Twiner.VirusFlicker(gameObject)); if (nextBody != head.gameObject) { nextBody.GetComponent <Tail>().FlickOnAwake(); } yield return(null); }