Beispiel #1
0
 private void SetWinInfo()
 {
     winPanel.m_Exit.SetActive(false);
     winPanel.SetText(winPanel._goldTotal, converter.NumberConverter(500), "gold");
     winPanel.SetText(winPanel._goldCoin, converter.NumberConverter(HuntLevelData.CoinCount * 10 * GetPlayerStats.playerStats.level).ToString(), "gold");
     winPanel.SetText(winPanel._goldChess, converter.NumberConverter(HuntLevelData.CoinChessCount * 500).ToString(), "gold");
     winPanel.SetText(winPanel._resourceItem, converter.NumberConverter(HuntLevelData.ResourceCount * GetPlayerStats.playerStats.level).ToString(), "resources");
     winPanel.SetText(winPanel._resourceTotal, converter.NumberConverter(500).ToString(), "resources");
     winPanel.SetText(winPanel._ratingText, converter.NumberConverter(GetPlayerStats.playerStats.level + (HuntLevelData.CoinCount * 2) + (HuntLevelData.CoinChessCount * 5) + (HuntLevelData.ResourceCount * 4)).ToString(), "rating");
     winPanel.SetText(winPanel._obeliskPrecent, HuntLevelData.ObeliskPrecent.ToString(), "precent");
 }