using System.Collections;
using System.Collections.Generic;
using UnityEngine;
/// 
/// 延时放回
/// 
public class DelayPut : MonoBehaviour
{
    /// 
    /// 延时时间
    /// 
    public float delayTime;
    private void OnEnable()
    {
        DelayedProcessingManager.Instance.DelayDoSecond(this, delayTime, () => 
        {
            CachePoolManager.Instance.Put(this.gameObject);
        });
    }
}