private void OnTriggerEnter(Collider other) { if (other.name == "Car") { GameState.AddCoin(1); Destroy(gameObject, 0.02f); } }