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

        playerT = Level.instance.GetPlayerTransform();
        if (batMode)
        {
            batCS = GetComponent <Enemy_Dickbat>();
        }
        moving = true;
        InvokeRepeating("StopMoving", 0, 1);
    }