16 lines
322 B
C#
16 lines
322 B
C#
using System.Collections;
|
|
using System.Collections.Generic;
|
|
using UnityEngine;
|
|
|
|
public class Enemy1 : Enemy
|
|
{
|
|
public GunAiComponent gun;
|
|
public EnemyAIAnimator enemyAIAnimator;
|
|
|
|
public override void DoAttack(Vector3 targetPos)
|
|
{
|
|
base.DoAttack(targetPos);
|
|
gun.EnemyShoot(targetPos);
|
|
}
|
|
}
|