IEnumerator LateStart() { yield return new WaitForSeconds(.1f); playerT = Level.instance.GetPlayerTransform(); if (batMode) { batCS = GetComponent<Enemy_Dickbat>(); } moving = true; InvokeRepeating("StopMoving",0,1); }
IEnumerator LateStart() { yield return(new WaitForSeconds(.1f)); playerT = Level.instance.GetPlayerTransform(); if (batMode) { batCS = GetComponent <Enemy_Dickbat>(); } moving = true; InvokeRepeating("StopMoving", 0, 1); }