Example #1
0
 void collected()
 {
     ScoreHandler.amountCollected++;
     collectableScript.removeItem(this);
     Destroy(gameObject);
 }