Esempio n. 1
0
 void OnMissionComplete(Int16 missionReward)
 {
     if (Global.isGameStart)
     {
         Debug.Log("OnMissionManager:" + missionReward);
         if (mission == Mission.WorldBoss && missionReward < 0)
         {
             battleHUD.MissionFailedMsg(mission, 0);
         }
         else
         {
             battleHUD.MissionCompletedMsg(mission, missionReward);
         }
         Global.isMissionCompleted = false;
         _missionMode = MissionMode.Completed;
     }
 }