Files
Zombie/Assets/_Zombie/Scripts/Enemys/HR01.cs

47 lines
963 B
C#

using System;
using System.Collections;
using System.Collections.Generic;
using DarkTonic.MasterAudio;
using DragonLi.Core;
using Mirror;
using Pathfinding;
using UnityEngine;
public class HR01 : Enemy
{
public Launcher leftLauncher;
public Launcher rightLauncher;
#if UNITY_EDITOR
[DisplayOnly]
#endif
public bool left = false;
// public void DelSelf()
// {
// if (isServer)
// {
// GameManager.Ins.DeleteEnemy(id);
// CreatExplosion();
// }
// }
//
// public override void Shoot()
// {
// if (IsAlive)
// {
// if (left)
// {
// // Debug.Log("左边开火");
// leftLauncher.Shoot();
// }
// else
// {
// // Debug.Log("右边开火");
// rightLauncher.Shoot();
// }
// left = !left;
// }
// }
}