diff options
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);
- }
-
- }
-}
|