mirror of
https://github.com/nothke/quality-control.git
synced 2024-11-12 22:03:42 +00:00
Layout done.
This commit is contained in:
parent
482d51d60a
commit
923a3fbe79
File diff suppressed because it is too large
Load Diff
@ -17,7 +17,11 @@ public class ProductSpawner: MonoBehaviour
|
||||
randomOrientation.rotation;
|
||||
|
||||
ProductType.SpawnProduct(type, transform, randomOrientation.position, rotation);
|
||||
NAudio.Play(spawnClip, transform.position);
|
||||
|
||||
if (spawnClip)
|
||||
{
|
||||
NAudio.Play(spawnClip, transform.position);
|
||||
}
|
||||
}
|
||||
|
||||
public void SpawnProduct(ProductType type, DefectType defect)
|
||||
|
Loading…
Reference in New Issue
Block a user