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; } }