Scoring and stuff.

This commit is contained in:
Khauvinkh
2024-08-18 18:42:01 +02:00
parent 1946669e64
commit 5bcc96a4a0
17 changed files with 587 additions and 42 deletions

View File

@@ -15,14 +15,7 @@ public class ProductReceiver : MonoBehaviour
if (product != null)
{
if (product.Defect != DefectType.None)
{
defectiveProductCount++;
}
else
{
normalProductCount++;
}
Scoreboard.Instance.ScoreProduct(product);
Destroy(product.gameObject);
}