Ejemplo n.º 1
0
        public PopupXBoxThreat getVoteReasonBox(VoteIssue vi, VoteOption vo, Person p)
        {
            GameObject      obj      = Instantiate(xBoxThreat) as GameObject;
            PopupXBoxThreat specific = obj.GetComponent <PopupXBoxThreat>();

            specific.setTo(vi, vo, p);
            specific.body = "The available vote options and the reasons behind each choice.";

            return(specific);
        }
Ejemplo n.º 2
0
        public PopupXBoxThreat getThreatBox(ThreatItem item)
        {
            GameObject      obj      = Instantiate(xBoxThreat) as GameObject;
            PopupXBoxThreat specific = obj.GetComponent <PopupXBoxThreat>();

            specific.setTo(item);
            specific.body = "The perceived threats and a breakdown of the reasons.";

            return(specific);
        }