public void SelectSession() { gameObject.GetComponentInParent <ButtonListScript>().DeselectAllButtons(); TextGameObject.GetComponent <TextMeshPro>().color = new Color(0f, 0.90f, 0.88f); scrollingUIController.SetSelectedSession(SessionInfo); isSelected = true; }
public void OnInputClicked(InputClickedEventData eventData) { scrollingUIController.SetSelectedSession(SessionInfo); }