public void LevelWin(int level, int score, int timestamp, int stars) { if (dataController.gameData.levelData[currentLevel].rewards != null && dataController.gameData.levelData[currentLevel].rewards.Count > 0) { playerDataController.AddRewards(dataController.gameData.levelData[currentLevel].rewards); } playerDataController.PlayerSaveWin(level, score, timestamp, stars); //BackToWorld(); }