자주 사용되는 메소드들
자주 사용되는 메소드들
자주 사용되는 메소드들
자주 사용되는 메소드들
private void OnBuildingDestroyed(GameBuilding destroyedBuilding) { GameLogicMgr gameLogicMgr = GameLogicMgr.GetInstance(); if (destroyedBuilding.GetTeam() != 0) { // Display you won message. gameLogicMgr.GameWon(); } else { // Display the you lost message. gameLogicMgr.GameOver(); } }