Example #1
0
 public void OnLeaguesToggleOn()
 {
     if (LeagueToggle.GetComponent <Toggle>().isOn)
     {
         LeagueManager.GetCurrentLeagues(new LeagueManager.GetLeaguesCallBack(ShowCurrentLeagues));
     }
 }
Example #2
0
 private void Start()
 {
     LeagueManager.GetCurrentLeagues(new LeagueManager.GetLeaguesCallBack(ShowCurrentLeagues));
     StartToggle.SendMessage("Select");
 }