19 lines
308 B
C#
Raw Normal View History

2025-04-18 21:05:56 +08:00
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class DelayPush : MonoBehaviour
{
// <20><><EFBFBD>󼤻<EFBFBD>ʱ
void OnEnable()
{
Invoke("Push", 1);
}
void Push()
{
PoolMgr.GetInstance().PushObj(this.gameObject.name, this.gameObject);
}
}