26 lines
404 B
C#
26 lines
404 B
C#
using System.Collections;
|
|
using System.Collections.Generic;
|
|
using UnityEngine;
|
|
|
|
public class PHR01 : Enemy
|
|
{
|
|
public Launcher gun;
|
|
|
|
public void DelSelf()
|
|
{
|
|
if (isServer)
|
|
{
|
|
GameManager.Ins.DeleteEnemy(id);
|
|
CreatExplosion();
|
|
}
|
|
}
|
|
|
|
public override void Shoot()
|
|
{
|
|
if (IsAlive)
|
|
{
|
|
gun.Shoot();
|
|
}
|
|
}
|
|
}
|