AR骑行动画&换装基本交互逻辑

This commit is contained in:
lishuo committed 2022-04-15 18:14:55 +08:00
1 parent d938a0c8be
commit 995aef63f8
117 files changed
+60802 -2718

No files matched your search

@@ -97,7 +97,12 @@ namespace PolyAndCode.UI
//Reseting Pool
if (_cellPool != null)
{
_cellPool.ForEach((RectTransform item) => UnityEngine.Object.Destroy(item.gameObject));
_cellPool.ForEach((RectTransform item) => {
if (item != null)
{
UnityEngine.Object.Destroy(item.gameObject);
}
});
_cellPool.Clear();
_cachedCells.Clear();
}