leaderboard feature added
This commit is contained in:
@@ -1,13 +1,23 @@
|
||||
using Darkmatter.Core;
|
||||
using TMPro;
|
||||
using UnityEngine;
|
||||
using UnityEngine.UI;
|
||||
|
||||
namespace Darkmatter.Presentation
|
||||
{
|
||||
public class LeaderBoardData : MonoBehaviour,ILeaderBoardData
|
||||
{
|
||||
public Image BackgroundPanel;
|
||||
public TextMeshProUGUI playerPos;
|
||||
public TextMeshProUGUI playerName;
|
||||
public TextMeshProUGUI playerScore;
|
||||
|
||||
public void ResetData()
|
||||
{
|
||||
BackgroundPanel.color = Color.white;
|
||||
playerPos.text = string.Empty;
|
||||
playerName.text = string.Empty;
|
||||
playerScore.text = string.Empty;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user