started using generic pooling
This commit is contained in:
@@ -20,7 +20,7 @@ namespace Darkmatter.Presentation
|
||||
public void UpdateData(int rank,string name, string score)
|
||||
{
|
||||
LeaderBoardData data = Instantiate(LBplayerData, LBDataContainer);
|
||||
data.posNumber.text = rank.ToString();
|
||||
data.playerPos.text = rank.ToString();
|
||||
data.playerName.text = name;
|
||||
data.playerScore.text = score;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user