void Collapse() { List <GameObject> gameObjects; gameObjects = Get_GameObjects(); collapse_container = Collapse_Mesh.Collapse(gameObjects); collapse_container.transform.SetParent(this.transform); Collapse_Mesh.Destroy(gameObjects); }
void Collapse() { Collapse_Container = Collapse_Mesh.Collapse(structures_go); Collapse_Container.transform.SetParent(this.transform); Collapse_Mesh.Destroy(structures_go); }