rabidus-test/Assets/Scripts/GlobalLeaderboard.cs

12 lines
307 B
C#
Raw Permalink Normal View History

2023-10-11 15:44:05 +03:00
public class GlobalLeaderboard : LeaderboardBase
{
protected override void OnEnable()
{
_leaderboardController.OnGlobalInit.AddListener(InitLeaderboard);
}
protected override void OnDisable()
{
_leaderboardController.OnGlobalInit.RemoveListener(InitLeaderboard);
}
}