Beispiel #1
0
    public IEnumerator ActivateNKC(float time)
    {
        stats.ActivateNKC();
        bullet = combat.GetBullet();
        combat.ChangeBullet(NKCBullet);
        animator.SetBool("NKC", true);

        yield return(new WaitForSeconds(time));

        animator.SetBool("NKC", false);
        combat.ChangeBullet(bullet);
        stats.DeactivateNKC();
    }