Esempio n. 1
0
    //private GameObject weaponL;
    //private GameObject weaponR;


    // Use this for initialization
    void Start()
    {
        Stats    = this.gameObject.GetComponent <stats>();
        gamebits = this.gameObject.GetComponent <GameBits>();
        //weaponL = (GameObject)gameObject.transform.Find("weaponL").gameObject;
        //weaponR = (GameObject)gameObject.transform.Find("weaponR").gameObject;
    }
Esempio n. 2
0
 //private GameObject weaponL;
 //private GameObject weaponR;
 // Use this for initialization
 void Start()
 {
     Stats = this.gameObject.GetComponent<stats>();
     gamebits = this.gameObject.GetComponent<GameBits>();
     //weaponL = (GameObject)gameObject.transform.Find("weaponL").gameObject;
     //weaponR = (GameObject)gameObject.transform.Find("weaponR").gameObject;
 }
Esempio n. 3
0
 // Use this for initialization
 void Start()
 {
     Stats = this.gameObject.GetComponent<stats>();
     gamebits = this.gameObject.GetComponent<GameBits>();
 }
Esempio n. 4
0
 // Use this for initialization
 void Start()
 {
     Stats    = this.gameObject.GetComponent <stats>();
     gamebits = this.gameObject.GetComponent <GameBits>();
 }