summaryrefslogtreecommitdiff
path: root/Assets/Art/Vfx/StylizedProjectilePack1/scripts/destroyMe.cs
diff options
context:
space:
mode:
authorchai <chaifix@163.com>2022-03-10 14:07:40 +0800
committerchai <chaifix@163.com>2022-03-10 14:07:40 +0800
commit22891bf59032ba88262824255a706d652031384b (patch)
tree7595439ba9966c9402d37e37cee5e8cf098757d5 /Assets/Art/Vfx/StylizedProjectilePack1/scripts/destroyMe.cs
parent8b04ea73e540067f83870b61d89db4868fea5e8a (diff)
* move folder
Diffstat (limited to 'Assets/Art/Vfx/StylizedProjectilePack1/scripts/destroyMe.cs')
-rw-r--r--Assets/Art/Vfx/StylizedProjectilePack1/scripts/destroyMe.cs26
1 files changed, 0 insertions, 26 deletions
diff --git a/Assets/Art/Vfx/StylizedProjectilePack1/scripts/destroyMe.cs b/Assets/Art/Vfx/StylizedProjectilePack1/scripts/destroyMe.cs
deleted file mode 100644
index cb8061db..00000000
--- a/Assets/Art/Vfx/StylizedProjectilePack1/scripts/destroyMe.cs
+++ /dev/null
@@ -1,26 +0,0 @@
-using UnityEngine;
-using System.Collections;
-
-public class destroyMe : MonoBehaviour{
-
- float timer;
- public float deathtimer = 10;
-
-
- // Use this for initialization
- void Start () {
-
- }
-
- // Update is called once per frame
- void Update ()
- {
- timer += Time.deltaTime;
-
- if(timer >= deathtimer)
- {
- Destroy(gameObject);
- }
-
- }
-}