Files
Zombie/Assets/_Zombie/Scripts/Guns/ElectroGun.cs
2025-08-27 13:37:20 +08:00

18 lines
378 B
C#

using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class ElectroGun : Launcher
{
public void Start()
{
if (isServer)
{
type = GunType.ElectroGun;
GunInfo gunInfo = GameManager.Ins.GunInfos[type];
shootRate = gunInfo.ShootRate;
recoil = gunInfo.Recoil;
}
}
}