Beispiel #1
0
    public void Awake()
    {
        st = GameObject.Find("StatTracker").GetComponent <StatTracker>();

        if (GameEndScreen)
        {
            Text timeScore = GameObject.Find("TimeScore").GetComponent <Text>();
            timeScore.text = st.ReturnCount();
        }
    }