public static void PortalDestroyed() { portalCount--; if (portalCount < 1) { if (enemyCount > 0) { UIEventHandler.AllPortalsDestroyed(); } else { EndGame(true); } } else { UIEventHandler.PortalDestroyed(); } }
public static void PortalDestroyed() { portalCount--; if (portalCount < 1) { if (enemyCount > 0) { UIEventHandler.AllPortalsDestroyed(); } else { EndGame(true); } } else { UIEventHandler.PortalDestroyed(); } }