mirror of
https://github.com/nothke/quality-control.git
synced 2025-08-09 07:13:42 +00:00
Scoring and stuff.
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
Reference in New Issue
Block a user