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