private void Awake() { this.EnsureEventSystem(); XboxLive.EnsureConfigured(); this.headerText.text = this.displayName; this.entryObjectPool = this.GetComponent <ObjectPool>(); this.UpdateButtons(); StatsManagerComponent.Instance.LocalUserAdded += LocalUserAdded; StatsManagerComponent.Instance.GetLeaderboardCompleted += GetLeaderboardCompleted; isLocalUserAdded = false; }
private void Awake() { XboxLive.EnsureConfigured(); this.manager = StatsManager.Singleton; }