//reciever HeroHire list from server , show list
    public void OnResponseHeroHire(UserRoleHire[] roles)
    {
        //set OnHireAccept for OnStartClick event
        hireHero.OnStartClick += OnHireAccept;

        hireHero.Show(roles);
    }
示例#2
0
 public void OnResponseHeroHire(UserRoleHire[] roles)
 {
     hireHero.OnStartClick += OnHireAccept;
     hireHero.Show(roles);
 }