mirror of
https://github.com/nothke/quality-control.git
synced 2025-08-09 23:23:44 +00:00
Item spawn update.
This commit is contained in:
@@ -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