mirror of
https://github.com/nothke/quality-control.git
synced 2026-10-11 19:28:55 +00:00
Item spawn update.
This commit is contained in:
1 parent
b58dc516e1
commit
1b0cf8d159
6 files changed
+127
-22
No files matched your search
@@ -22,6 +22,8 @@ public class HammerableRigidbody: RigidbodyInteractable
|
||||
}
|
||||
|
||||
var clip = product.Type.SelectClip(product.Defect != DefectType.None);
|
||||
NAudio.Play(clip, transform.position);
|
||||
clip.Play(
|
||||
transform.position,
|
||||
Random.Range(0.8f, 1.2f));
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user