示例#1
0
 //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();
 }
示例#2
0
    //public float cnt = 1;

    // Start is called before the first frame update
    void Start()
    {
        pointsClass = GetComponent <StartStopPlayer>();
    }