void WinOrLose(bool battleEnd) { if (battleEnd) { Debug.Log("Winbattle"); gameOverGO.CombatWin(unitDestroyCount); } else { Debug.Log("lose battle"); gameOverGO.CombatLose(); } }