generic pool made
This commit is contained in:
@@ -10,7 +10,7 @@ namespace Darkmatter.Presentation
|
||||
public GameObject leaderBoardScreen;
|
||||
public Button ExitButton;
|
||||
public Transform LBDataContainer;
|
||||
public LeaderboardData LBplayerData;
|
||||
public LeaderBoardData LBplayerData;
|
||||
|
||||
public void Show()
|
||||
{
|
||||
@@ -19,7 +19,7 @@ namespace Darkmatter.Presentation
|
||||
|
||||
public void UpdateData(int rank,string name, string score)
|
||||
{
|
||||
LeaderboardData data = Instantiate(LBplayerData, LBDataContainer);
|
||||
LeaderBoardData data = Instantiate(LBplayerData, LBDataContainer);
|
||||
data.posNumber.text = rank.ToString();
|
||||
data.playerName.text = name;
|
||||
data.playerScore.text = score;
|
||||
|
||||
Reference in New Issue
Block a user