in Assets/Xbox Live/Scripts/Social.cs [79:98]
private void Update()
{
if (this.EnableControllerInput)
{
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.toggleFilterControllerButton) && Input.GetKeyDown(this.toggleFilterControllerButton))
{
switch (this.presenceFilterDropdown.value)
{
case 0: this.presenceFilterDropdown.value = 1; break;
case 1: this.presenceFilterDropdown.value = 0; break;
}
}
}
}