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