Example #1
0
 // 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> ();
     i = wieVieleSpieler.GetComponent <wieVieleSpielerS> ();
 }
    //	int i;

    // Use this for initialization
    void Start()
    {
        //hafen = 1;
        //hafendrehung = 1;
        a      = Bauen.GetComponent <BauenS> ();
        b      = RotDran.GetComponent <Rotistdran> ();
        d      = wieVieleSpieler.GetComponent <wieVieleSpielerS> ();
        los4   = 5;
        kas    = 1;
        brück  = 1;
        brück3 = 1;
        kas3   = 1;
        brück2 = 1;
        kas2   = 1;
        kas4   = 1;
        brück4 = 1;
        los3   = 5;
        los2   = 5;
        los    = 5;
        werft1 = 1;
    }
Example #3
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);
 }
Example #4
0
 // Use this for initialization
 void Start()
 {
     score1 = PlayerPrefs.GetInt("score1");
     score2 = PlayerPrefs.GetInt("score2");
     score3 = PlayerPrefs.GetInt("score3");
     score4 = PlayerPrefs.GetInt("score4");
     score5 = PlayerPrefs.GetInt("score5");
     score6 = PlayerPrefs.GetInt("score6");
     score7 = PlayerPrefs.GetInt("score7");
     score8 = PlayerPrefs.GetInt("score8");
     score9 = PlayerPrefs.GetInt("score9");
     user1  = PlayerPrefs.GetString("user1");
     user2  = PlayerPrefs.GetString("user2");
     user3  = PlayerPrefs.GetString("user3");
     user4  = PlayerPrefs.GetString("user4");
     user5  = PlayerPrefs.GetString("user5");
     user6  = PlayerPrefs.GetString("user6");
     user7  = PlayerPrefs.GetString("user7");
     user8  = PlayerPrefs.GetString("user8");
     user9  = PlayerPrefs.GetString("user9");
     a      = RotDran.GetComponent <Rotistdran> ();
     b      = wieVieleSpieler.GetComponent <wieVieleSpielerS> ();
     gameObject.GetComponent <Renderer> ().material.color = Color.black;
 }
 // Use this for initialization
 void Start()
 {
     a = RotDran.GetComponent <Rotistdran> ();
     gameObject.GetComponent <Renderer>().material.color = Color.yellow;
     b = wieVieleSpieler.GetComponent <wieVieleSpielerS> ();
 }
Example #6
0
 // Use this for initialization
 void Start()
 {
     a = wieVieleSpieler.GetComponent <wieVieleSpielerS> ();
     b = RotDran.GetComponent <Rotistdran> ();
 }
 // Use this for initialization
 void Start()
 {
     a = wieVieleSpieler.GetComponent <wieVieleSpielerS> ();
 }