private void AddItem() { //Pegando arma aleatoria weapon wp = repository.GetRandomWeapon(); wp.Respaw(transform.position); AudioClip clipHit = repository.GetRepository().clipBoxCatch; repository.GetAudioSource().PlayOneShot(clipHit); }
private void AddItem() { //Pegando arma aleatoria weapon wp = repository.GetRandomWeapon(); wp.Respaw(transform.position); AudioClip clipHit = repository.GetRepository().clipBoxCatch; repository.GetAudioSource().PlayOneShot(clipHit); }