Exemple #1
0
 // Use this for initialization
 void Start()
 {
     roleSwitcher     = GetComponent <RoleSwitcher>();
     publicFunds.text = "Public Funds: \n" + politicianFunds.ToString();
     if (playerText.text.Contains("Neutralize"))
     {
         headlineText.text = "Our Troops Defeat Enemy Forces";
     }
     else if (playerText.text.Contains("Secure"))
     {
         headlineText.text = "Local Town Secured By Our Troops";
     }
     viewerRating.text = "Viewer Ratings \n " + mediaRating;
 }