コード例 #1
0
ファイル: B8.cs プロジェクト: Bartimaeus99/Legends_of_Capture
 // 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> ();
 }
コード例 #2
0
 //public GameObject spawnPointa;
 //private spawnPoint c;
 // Use this for initialization
 void Start()
 {
     a         = RotDran.GetComponent <Rotistdran> ();
     b         = Hafen.GetComponent <hafen> ();
     c         = schiffSpawnpointA.GetComponent <schiffspawnpoint>();
     d         = AngriffVerschiebung.GetComponent <AngriffS> ();
     e         = AngriffVerschiebung.GetComponent <ATruppen> ();
     f         = spawnPointa.GetComponent <spawnPoint>();
     darfbauen = 1;
     land      = f.landnummer;
 }
コード例 #3
0
    void Start()
    {
        BoxCollider boxCollider = gameObject.AddComponent <BoxCollider>();

        b = RotDran.GetComponent <Rotistdran> ();
        a = spawnPointa.GetComponent <spawnPoint> ();
        c = schiffSpawnpointA.GetComponent <schiffspawnpoint> ();
        d = AngriffVerschiebung.GetComponent <AngriffS> ();
        e = AngriffVerschiebung.GetComponent <ATruppen> ();
        boxCollider.size = new Vector3(6, 80, 30);
        hafen            = 1;
        farbe            = b.anDerReihe;
    }
コード例 #4
0
 // 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> ();
 }
コード例 #5
0
 // Use this for initialization
 void Start()
 {
     a = AngriffVerschiebung.GetComponent <AngriffS> ();
 }
コード例 #6
0
 // Use this for initialization
 void Start()
 {
     a = AngriffVerschiebung.GetComponent <AngriffS> ();
     b = Verschiebung.GetComponent <VerschiebenS> ();
     c = RotDran.GetComponent <Rotistdran> ();
 }
コード例 #7
0
 // Use this for initialization
 void Start()
 {
     a = RotDran.GetComponent <Rotistdran>();
     d = AngriffVerschiebung.GetComponent <AngriffS>();
 }