예제 #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;
    }
예제 #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;
 }
예제 #3
0
 // Use this for initialization
 void Start()
 {
     Stats = this.gameObject.GetComponent<stats>();
     gamebits = this.gameObject.GetComponent<GameBits>();
 }
예제 #4
0
 // Use this for initialization
 void Start()
 {
     Stats    = this.gameObject.GetComponent <stats>();
     gamebits = this.gameObject.GetComponent <GameBits>();
 }