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

16 lines
428 B
C#

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