Beispiel #1
0
 // 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>();
 }
Beispiel #2
0
    // 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>();
    }