public void OnResumeGame() { isGamePause = false; leftGeneral.SetResume(); rightGeneral.SetResume(); for (int i = 0; i < leftSoliders.Count; i++) { if (leftSoliders[i] != null) { leftSoliders[i].SetResume(); } } for (int i = 0; i < rightSoliders.Count; i++) { if (rightSoliders[i] != null) { rightSoliders[i].SetResume(); } } for (int i = 0; i < soliderHorse.Count; i++) { if (soliderHorse[i] != null) { soliderHorse[i].SetResume(); } } }