IEnumerator hideTrail() { this.trailControl = GetComponent <EnemyTrailControl>(); trailControl.trail.enabled = false; yield return(new WaitForSeconds(0.5f)); trailControl.trail.enabled = true; }
IEnumerator hideTrail() { this.trailControl = GetComponent<EnemyTrailControl>(); trailControl.trail.enabled = false; yield return new WaitForSeconds(0.5f); trailControl.trail.enabled = true; }