123456789101112131415161718 |
- using UnityEngine;
- using System.Collections;
- public class EffectDelayDestroy : DelayDestroy
- {
- public string path;
- override protected void FixedUpdate ()
- {
- if(GameTime.time - startTime > delay)
- {
- EffectUtil.Recycle(path, this.gameObject);
- }
- }
- }
|