// Use this for initialization void Start() { a = AngriffVerschiebung.GetComponent <AngriffS> (); b = AngriffVerschiebung.GetComponent <ATruppen> (); c = Ausbilden.GetComponent <Ausbilden> (); d = Ausbilden.GetComponent <tAusbilden> (); e = RotDran.GetComponent <Rotistdran> (); f = spawnPoint.GetComponent <spawnPoint> (); g = Bauen.GetComponent <BauenS> (); }
// Use this for initialization void Start() { // farbevomland = 1; gameObject.GetComponent <Renderer>().material.color = Color.red; // a = AngriffVerschiebung.GetComponent <AngriffS> (); b = AngriffVerschiebung.GetComponent <ATruppen> (); c = Ausbilden.GetComponent <Ausbilden> (); d = Ausbilden.GetComponent <tAusbilden> (); e = RotDran.GetComponent <Rotistdran> (); f = spawnPoint.GetComponent <spawnPoint> (); g = Bauen.GetComponent <BauenS> (); }
// 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); }