Files
Loong/Assets/_Loong/Scripts/Bullet/LightingBullet.cs
2025-10-15 15:27:45 +08:00

16 lines
438 B
C#

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