Добавил инициализацию лидербордов при зажатии на курки
This commit is contained in:
parent
f4be6ad41d
commit
d31d7ed713
File diff suppressed because one or more lines are too long
|
@ -37,6 +37,11 @@ public class LeaderboardController : MonoBehaviour
|
|||
private void Start()
|
||||
{
|
||||
//yield return new WaitForSeconds(1);
|
||||
InitLeaderboards();
|
||||
}
|
||||
|
||||
public void InitLeaderboards()
|
||||
{
|
||||
InitDailyLeaderboard();
|
||||
InitGlobalLeaderboard();
|
||||
}
|
||||
|
|
|
@ -8,4 +8,9 @@ public class StartSceneManager : MonoBehaviour
|
|||
{
|
||||
LeaderboardController.Instance.RefreshEntries();
|
||||
}
|
||||
|
||||
public void InitLeaderboards()
|
||||
{
|
||||
LeaderboardController.Instance.InitLeaderboards();
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue