Exemplo n.º 1
0
    public void Attack(SkillManager.SkillType bulletType)
    {
        if (!SkillManager.isReady(bulletType))
        {
            return;
        }
        SkillManager.stamp(bulletType);

        robotAnimator.SetTrigger("Attack");
        spawner.spawnBullet(bulletType);
    }