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