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); }
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); }
private void ClearOldStats() { OldText.SetActive(false); }