Beispiel #1
0
    // idle 2 sec
    // shoot low
    // if shot back lives-1 else shoot again till shot back
    // transform
    // idle 2 sec
    // leg attack
    // idle 2 sec
    // shoot high
    // if shot back lives-1
    // die


    // Start is called before the first frame update
    void Start()
    {
        anim     = GetComponent <Animator>();
        eye      = GetComponent <EyeAttack>();
        bossColl = GetComponent <Collider2D>();
        StartCoroutine(Shoot());
        missedAttackTimer = RestartTimer();
    }