void Start() { ResultTxt = GameOverScript.getResult(); this.TargetTxt = this.GetComponent <Text>(); this.TargetTxt.text = ResultTxt; }