Exemplo n.º 1
0
    public void Setup(AudienceAgent target, bool flipped)
    {
        Target = target;
        AgentIcon.SetIcon(target);
        Animator.SetBool("Flipped", flipped);

        TotalRatingValue = Target.ProfileData.GetRatingValue();
        ReviewText.text  = Target.ProfileData.GetReviewText(TotalRatingValue);
    }
Exemplo n.º 2
0
    Chair AddAudienceAgent(AudienceAgent agent)
    {
        Chair chair = null;

        if (Chairs.Length > AudienceAgents.Count)
        {
            chair = Chairs[AudienceAgents.Count];
        }
        AudienceAgents.Add(agent);

        return(chair);
    }