//public Text // Start is called before the first frame update void Start() { _p = GetComponent <StartStopPlayer>(); _recordText.text = PlayerPrefs.GetFloat("SetScore").ToString(); LoadRecord2(); //GetComponent<Text>().text = PlayerPrefs.GetFloat("SetScore").ToString(); }
//public float cnt = 1; // Start is called before the first frame update void Start() { pointsClass = GetComponent <StartStopPlayer>(); }