16 lines
438 B
C#
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;
|
|
}
|
|
}
|