void Update()

in Assets/Xbox Live/Scripts/Leaderboard.cs [215:245]


        void Update()
        {
            if (this.EnableControllerInput)
            {
                if (this.currentPage != 0 && !string.IsNullOrEmpty(this.prevControllerButton) && Input.GetKeyDown(this.prevControllerButton))
                {
                    this.PreviousPage();
                }

                if (this.currentPage != this.totalPages && !string.IsNullOrEmpty(this.nextControllerButton) && Input.GetKeyDown(this.nextControllerButton))
                {
                    this.NextPage();
                }

                if (!string.IsNullOrEmpty(this.verticalScrollInputAxis) && Input.GetAxis(this.verticalScrollInputAxis) != 0)
                {
                    var inputValue = Input.GetAxis(this.verticalScrollInputAxis);
                    this.scrollRect.verticalScrollbar.value = this.scrollRect.verticalNormalizedPosition + (inputValue * scrollSpeedMultiplier);
                }

                if (!string.IsNullOrEmpty(this.nextViewControllerButton) && Input.GetKeyDown(this.nextViewControllerButton))
                {
                    this.LoadView(((int) this.viewFilter) + 1);
                }

                if (!string.IsNullOrEmpty(this.prevViewControllerButton) && Input.GetKeyDown(this.prevViewControllerButton))
                {
                   this.LoadView(((int) this.viewFilter) - 1);
                }
            }
        }