modify
This commit is contained in:
parent
aa1da4de29
commit
52bc0b3319
@ -10,7 +10,7 @@ namespace AlicizaX.UI.RecyclerView
|
|||||||
|
|
||||||
static ViewHolderObjectPool()
|
static ViewHolderObjectPool()
|
||||||
{
|
{
|
||||||
_ObjectPool = GameApp.ObjectPool.CreateSingleSpawnObjectPool<ViewHolderObject>(name: OBJECTPOOLNAME, autoReleaseInterval: 60, capacity: 60, expireTime: float.MaxValue, 0);
|
_ObjectPool = GameApp.ObjectPool.CreateSingleSpawnObjectPool<ViewHolderObject>(name: OBJECTPOOLNAME, autoReleaseInterval: 60, capacity: 60, expireTime: 60 * 3, 0);
|
||||||
}
|
}
|
||||||
|
|
||||||
public static ViewHolder Allocate(ViewHolder template, Transform parent)
|
public static ViewHolder Allocate(ViewHolder template, Transform parent)
|
||||||
|
Loading…
Reference in New Issue
Block a user