Exemple #1
0
 public void OnBattleEnd()
 {
     LevelData.EndTime = Time.realtimeSinceStartup - LevelData.StrTime;
     LevelData.Win     = !LevelData.MainPlayer.IsDead();
     LevelData.CalcResult();
 }