AR骑行动画&换装基本交互逻辑
This commit is contained in:
1 parent
d938a0c8be
commit
995aef63f8
117 files changed
+60802
-2718
No files matched your search
+6
-1
@@ -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();
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user