// Use this for initialization void Start() { charPhys = GameObject.Find("MannFall").GetComponent <RungeKutta3>(); buttonText = GameObject.Find("Text").GetComponent <Text>(); heightText = GameObject.Find("HeightText").GetComponent <Text>(); speedText = GameObject.Find("SpeedText").GetComponent <Text>(); timeText = GameObject.Find("TimeText").GetComponent <Text>(); }
// Use this for initialization void Start() { charPhys = GameObject.Find("MannFall").GetComponent <RungeKutta3>(); buttonText = GameObject.Find("Text").GetComponent <Text>(); heightText = GameObject.Find("HeightText").GetComponent <Text>(); speedText = GameObject.Find("SpeedText").GetComponent <Text>(); timeText = GameObject.Find("TimeText").GetComponent <Text>(); pointsText = GameObject.Find("PointsText").GetComponent <Text>(); Control = GameObject.Find("ControlObject").GetComponent <GlobalGameControl>(); }