diff options
author | chai <215380520@qq.com> | 2023-11-27 00:08:06 +0800 |
---|---|---|
committer | chai <215380520@qq.com> | 2023-11-27 00:08:06 +0800 |
commit | d4af52c91a717d0ee324f81ad5a673d4a6ba9207 (patch) | |
tree | bdb610929b8cd3064632f12479cd47c16b752045 /Assembly_CSharp/GamePlay/ParticleBeam.cs | |
parent | b45e22c164fa364263b00ce82842999f8e5976b2 (diff) |
*move
Diffstat (limited to 'Assembly_CSharp/GamePlay/ParticleBeam.cs')
-rw-r--r-- | Assembly_CSharp/GamePlay/ParticleBeam.cs | 19 |
1 files changed, 0 insertions, 19 deletions
diff --git a/Assembly_CSharp/GamePlay/ParticleBeam.cs b/Assembly_CSharp/GamePlay/ParticleBeam.cs deleted file mode 100644 index 6a7bf2a..0000000 --- a/Assembly_CSharp/GamePlay/ParticleBeam.cs +++ /dev/null @@ -1,19 +0,0 @@ -using UnityEngine; - -public class ParticleBeam : Projectile -{ - [SerializeField] - private GameObject beamTrail; - - protected override void MoveProjectile() - { - base.MoveProjectile(); - beamTrail.transform.position = base.transform.position + new Vector3(Random.Range(-1f, 1f), Random.Range(0f, 1f), Random.Range(-1f, 1f)); - } - - protected new virtual void OnHit(RaycastHit hit) - { - beamTrail.transform.position = hit.point; - base.OnHit(hit); - } -} |