mirror of
https://github.com/nothke/quality-control.git
synced 2026-10-11 19:28:55 +00:00
Scoring and stuff.
This commit is contained in:
1 parent
1946669e64
commit
5bcc96a4a0
17 files changed
+587
-42
No files matched your search
@@ -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