Esempio n. 1
0
 public void AddTrust(float modifier)
 {
     trust += modifier; UITrust.GetComponent <Slider>().value = trust;
     if (modifier > 0.3f && GM)
     {
         foreach (GameObject chara in GM.characters)
         {
             chara.GetComponent <Character_r>().AddTrust(modifier * 0.25f);
         }
     }
 }
Esempio n. 2
0
 public void AddTrust(int modifier)
 {
     trust += modifier; UITrust.GetComponent <Slider>().value = trust;
 }