public void ListReset() { for (int i = 0; i < Contant_2.childCount; i++) { Destroy(Contant_2.GetChild(i).gameObject); } for (int i = 0; i < Contant_3.childCount; i++) { Destroy(Contant_3.GetChild(i).gameObject); } }
public void ListReset() { for (int i = 0; i < Contant_1.childCount; i++) { Destroy(Contant_1.GetChild(i).gameObject); } for (int i = 0; i < Contant_2.childCount; i++) { Destroy(Contant_2.GetChild(i).gameObject); } for (int i = 0; i < Contant_3.childCount; i++) { Destroy(Contant_3.GetChild(i).gameObject); } Plan1_Total.text = "0"; Plan2_Total.text = "0"; }