예제 #1
0
 private void ShowOldStats(Staff old)
 {
     oldname.text    = old.name;
     olddescrip.text = WrapText(old.descrip, 20);
     oldp.text       = old.power.ToString();
     oldf.text       = old.firerate.ToString();
     oldr.text       = old.reloadspeed.ToString();
     OldText.SetActive(true);
 }
예제 #2
0
 void ShowText()
 {
     transform.Find("to").gameObject.SetActive(true);
     newptextg.GetComponent <TextMesh>().text = "POWER:";
     newftextg.GetComponent <TextMesh>().text = "FIRERATE:";
     newrtextg.GetComponent <TextMesh>().text = "RELOAD:";
     OldText.SetActive(true);
     slothightlight.SetActive(true);
 }
예제 #3
0
 private void ClearOldStats()
 {
     OldText.SetActive(false);
 }