Layout done.

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

File diff suppressed because it is too large Load Diff

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)