コード例 #1
0
ファイル: poseController.cs プロジェクト: savionasc/Bia-CG
 void Awake()
 {
     rb1 = Body1.GetComponent <Rigidbody>();
     rb2 = Body2.GetComponent <Rigidbody>();
     rb3 = Body3.GetComponent <Rigidbody>();
     rb4 = Body4.GetComponent <Rigidbody>();
     rb5 = Body5.GetComponent <Rigidbody>();
     rb6 = Body6.GetComponent <Rigidbody>();
 }
コード例 #2
0
ファイル: Argamassa.cs プロジェクト: savionasc/Argamassa
 void setRigibody()
 {
     this.rb1 = Body1.GetComponent <Rigidbody>();
     this.rb2 = Body2.GetComponent <Rigidbody>();
     this.rb3 = Body3.GetComponent <Rigidbody>();
     this.rb4 = Body4.GetComponent <Rigidbody>();
     this.rb5 = Body5.GetComponent <Rigidbody>();
     this.rb6 = Body6.GetComponent <Rigidbody>();
 }
コード例 #3
0
ファイル: Argamassa.cs プロジェクト: savionasc/Argamassa
    void Awake()
    {
        rb1 = Body1.GetComponent <Rigidbody>();
        rb2 = Body2.GetComponent <Rigidbody>();
        rb3 = Body3.GetComponent <Rigidbody>();
        rb4 = Body4.GetComponent <Rigidbody>();
        rb5 = Body5.GetComponent <Rigidbody>();
        rb6 = Body6.GetComponent <Rigidbody>();
        GameObject tor = this.chita.transform.GetChild(0).gameObject;

        torax        = tor.GetComponent <Rigidbody>();
        testeColisao = this.chita.transform.GetChild(13).gameObject;
        //chita = GameObject.Find("Chita");
        //z = new Animalx ();
        //a = GameObject.Instantiate (chita);
        //a.transform.position = new Vector3 (-2.16f,0.16f,-5f);
    }