public void Remove() { foreach (GridLayoutGroup grid in gridLayoutS) { U_Transform.DestroyImmediateAllSon(grid.transform); } U_Transform.DestroyImmediateAllSon(posModelParent); objS.Clear(); }
public void ClearAll() { stopList.Clear(); pointS.Clear(); U_Transform.DestroyImmediateAllSon(transform); }