28 lines
470 B
C#
28 lines
470 B
C#
using System.Collections;
|
|
using System.Collections.Generic;
|
|
using UnityEngine;
|
|
|
|
public class MR3 : Enemy
|
|
{
|
|
public Launcher leftGun;
|
|
public Launcher rightGun;
|
|
|
|
public void DelSelf()
|
|
{
|
|
if (isServer)
|
|
{
|
|
GameManager.Ins.DeleteEnemy(id);
|
|
CreatExplosion();
|
|
}
|
|
}
|
|
|
|
public override void Shoot()
|
|
{
|
|
if (IsAlive)
|
|
{
|
|
leftGun.Shoot();
|
|
rightGun.Shoot();
|
|
}
|
|
}
|
|
}
|