Files
MRCS/Assets/_MrCs/Scripts/Bullets/ShieldBullet.cs
2025-11-24 18:56:18 +08:00

18 lines
474 B
C#

using System.Collections;
using System.Collections.Generic;
using Mirror;
using UnityEngine;
public class ShieldBullet : Bullet
{
[Server]
public override void OnSpawn(int ownerIndex, Vector3 recoil, float recoilCount,float time)
{
base.OnSpawn(ownerIndex, recoil, recoilCount,time);
type = GunType.FangYuGun;
GunInfo bulletInfo = GameManager.Ins.GunInfos[type][1];
damage = bulletInfo.Damage;
//userTime = time;
}
}