// Use this for initialization
 void Start()
 {
     //	tA1 = 100;
     //	tA2 = 1;
     a = Ausbilden.GetComponent <Ausbilden> ();
     e = RotDran.GetComponent <Rotistdran> ();
     b = MainCamera.GetComponent <camaraBewegt> ();
 }
Beispiel #2
0
 // Use this for initialization
 void Start()
 {
     stamm1 = 1;
     stamm2 = 1;
     stamm3 = 1;
     stamm4 = 1;
     gameObject.GetComponent <Renderer>().material.color = Color.red;
     a          = wieVieleSpieler.GetComponent <wieVieleSpielerS> ();
     b          = MainCamera.GetComponent <pauseMenu>();
     c          = MainCamera.GetComponent <camaraBewegt>();
     länderRot  = 1;
     länderBlau = 1;
     map        = 1;
     butRect    = new Rect((Screen.width - ctrlWidh) / 2, 0, ctrlWidh, ctrlHight);
     start      = -1;
     GetComponent <Renderer> ().enabled = false;
     g           = Ausbilden.GetComponent <tAusbilden> ();
     rubinlandan = 1;
     p           = new Vector3(100, 100000, 1000);
     pa          = new Vector3(100, 100000, 1000);
 }