From 22891bf59032ba88262824255a706d652031384b Mon Sep 17 00:00:00 2001 From: chai Date: Thu, 10 Mar 2022 14:07:40 +0800 Subject: * move folder --- Assets/Scripts/Effects/Spark.cs | 36 ------------------------------------ 1 file changed, 36 deletions(-) delete mode 100644 Assets/Scripts/Effects/Spark.cs (limited to 'Assets/Scripts/Effects/Spark.cs') diff --git a/Assets/Scripts/Effects/Spark.cs b/Assets/Scripts/Effects/Spark.cs deleted file mode 100644 index 5f8856c4..00000000 --- a/Assets/Scripts/Effects/Spark.cs +++ /dev/null @@ -1,36 +0,0 @@ -using System.Collections; -using System.Collections.Generic; -using UnityEngine; - -public class Spark : MonoBehaviour -{ - public string Name; - public float LifeTime; - - private float time; - - public Transform Host; - - private void Awake() - { - } - - private void OnEnable() - { - time = 0; - } - - private void Update() - { - time += Time.deltaTime; - if(time > LifeTime) - { - SparksManager.Instance.CycleSpark(this); - } - if (Host != null) - { - transform.position = Host.position; - } - } - -} -- cgit v1.1-26-g67d0