Files
Loong/Assets/_Loong/Scripts/Bullet/GuardBullet.cs

16 lines
432 B
C#

using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class GuardBullet : Bullet
{
public override void OnSpawn(Vector3 recoil, float recoilCount)
{
base.OnSpawn(recoil, recoilCount);
type = BulletType.GuardBullet;
BulletInfo bulletInfo = GameManager.Ins.BulletInfos[type][1];
damage = bulletInfo.Damage;
deToughness = bulletInfo.DeToughness;
}
}