summaryrefslogtreecommitdiff
path: root/Thronefall_1_0/Decompile/ProjectileImpactParticles.cs
diff options
context:
space:
mode:
Diffstat (limited to 'Thronefall_1_0/Decompile/ProjectileImpactParticles.cs')
-rw-r--r--Thronefall_1_0/Decompile/ProjectileImpactParticles.cs22
1 files changed, 0 insertions, 22 deletions
diff --git a/Thronefall_1_0/Decompile/ProjectileImpactParticles.cs b/Thronefall_1_0/Decompile/ProjectileImpactParticles.cs
deleted file mode 100644
index 6592a9b..0000000
--- a/Thronefall_1_0/Decompile/ProjectileImpactParticles.cs
+++ /dev/null
@@ -1,22 +0,0 @@
-using UnityEngine;
-
-public class ProjectileImpactParticles : MonoBehaviour
-{
- public AimbotProjectile target;
-
- public ParticleSystem particles;
-
- private void Start()
- {
- if (target != null)
- {
- target.onHit.AddListener(Play);
- }
- }
-
- private void Play()
- {
- particles.gameObject.transform.parent = null;
- particles.Play();
- }
-}