19 lines
308 B
C#
19 lines
308 B
C#
|
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);
|
|||
|
}
|
|||
|
}
|