public void OnCollisionEnter(Collision collision) { Debug.Log("collided..."); if (collision.collider.tag == "Player") { Debug.Log("should disappear..."); //TODO: Add to counter _gameManagerScript.AddChili(); this.gameObject.SetActive(false); Destroy(this); } }