diff options
author | chai <chaifix@163.com> | 2022-03-10 14:07:40 +0800 |
---|---|---|
committer | chai <chaifix@163.com> | 2022-03-10 14:07:40 +0800 |
commit | 22891bf59032ba88262824255a706d652031384b (patch) | |
tree | 7595439ba9966c9402d37e37cee5e8cf098757d5 /Assets/Art/Vfx/StylizedProjectilePack1/scripts/destroyMe.cs | |
parent | 8b04ea73e540067f83870b61d89db4868fea5e8a (diff) |
* move folder
Diffstat (limited to 'Assets/Art/Vfx/StylizedProjectilePack1/scripts/destroyMe.cs')
-rw-r--r-- | Assets/Art/Vfx/StylizedProjectilePack1/scripts/destroyMe.cs | 26 |
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);
- }
-
- }
-}
|