Layout done.

This commit is contained in:
Daniel Tyomin committed 2024-08-20 00:31:38 +02:00
1 parent 482d51d60a
commit 923a3fbe79
2 files changed
+3634 -36

No files matched your search

+5 -1
View File
@@ -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)