// Use this for initialization void Start() { rigidBody = GetComponent <Rigidbody> (); arma = Instantiate(armas [0], mao.transform.position, Quaternion.identity) as Arma; arma.PosicaoDaArma(mao); }
// Use this for initialization void Start() { rigidBody = GetComponent<Rigidbody> (); arma = Instantiate(armas [0], mao.transform.position, Quaternion.identity) as Arma; arma.PosicaoDaArma (mao); }